Is there way I can access the Tracking Id within a Groovy Script ? Or any way I can have it in my process.
I am planning to build Logging Sub Process in that I need this Tracking Id to Log
Do you mean Execution Id of the process?
Refer to this document - https://community.boomi.com/docs/DOC-1958
I meant there is a Document Tracking Id which we set in the Setup Page right ?
Can we access that in the process ?
I see what you mean now.
I am not sure if Tracking IDs can be accessed with in the process. But Tracking IDs are XML document data so the Tracking ID XML node and its value should be available to you within the process. Can you not use that instead of referring to same field and value through Tracking field?
No, Its not possible to access them in the process (also in groovy script).
Tracked Field values are available to view only in Process Reporting for 30 days (or depending on purge history), same as all execution records.
I am building a independent Logging Process where my most generic way would be to access this Tracking Id.
Let the calling process set the unique Id from the Incoming Document to the Tracking Id.
Then my Logging Process is any how looking into this Tracking Id
Whenever I am using a Tracked Field I set that tracked field based on the value of a Dynamic Document Property.
This allows me to use a single Tracked Field (which I have named RecordID) to be used across any of my data sets, all I have to do is set my DDP to the correct value.
Doing this would also allow me to access that value in a Groovy script should I ever want to.
Yes, that's a good idea.
But i think what I understood is - whatever Rakesh asking here is different use case.
He has already few processes running in Boomi which uses some tracking fields. And he wants to build some Logging process to extract them from the process execution and make some statistics out of that (or something else).
This is currently not possible, because Tracked Fields are available to view only in Process Reporting
Please correct me, if I am wrong.
Hello Hari , Trey
Thanks for your Reply.
Right now I dont have any existing processes. We are in the process of building a logging framework. Hence wanted to know how to access the Document Tracking Field. From the discussion it looks like there is NO direct way. One of the Good way as Trey suggested is to Set a DPP and set into Tracking Field.
So that all my Business Processes set the same DPP which is furtther set into the Document Tracking Field.
Just a minor correction but it will make a difference. You probably want to use a DDP (Dynamic Document Property) instead of a DPP (Dynamic Process Property) that way you can have a different value per document instead of a different value per process. If you have not already done so it might be worth reading up on the differences between the two to make sure you use the right one.
Retrieving data ...