how to access variables from audit logs | Community
Skip to main content
Level 4
August 4, 2017
Solved

how to access variables from audit logs

  • August 4, 2017
  • 2 replies
  • 3024 views

Hi,

I want to access Insert/update variables of Audit logs so as to maintain how many records got inserted or updated of particular schema which is part of import workflow.

Regards,

Ketan Pardeshi

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by _nkur

Hi,

insert and update count are maintained in event variable you can get them using below variable on next activity after update data activity.

vars.insertCount & vars.updateCount

Regards,

Ankur A.

2 replies

_nkur
_nkurAccepted solution
Level 2
August 4, 2017

Hi,

insert and update count are maintained in event variable you can get them using below variable on next activity after update data activity.

vars.insertCount & vars.updateCount

Regards,

Ankur A.

Amit_Kumar
Level 10
August 4, 2017

Hi Ketan,

It's a two step process

Step 1: Enable success and reject from update data activity(this will work for CRM export activity as well)

Use the following screen for the reference.

Step2:  Use vars.recCount or vars.insertCount & vars.updateCount to get the count of records, you can use this variable to do what ever you want to use it for.

Example logInfo("successfully inserterd or updated records: "+vars.recCount);

Hope this helps!

Amit