on ‎2019 Aug 21 8:53 AM
Hello,
can we monitor workflow context data of each step? I can only see what is the current workflow context is in the UI of monitor workflow context. Not able to see what is context data before and after of each step execution.
can write custom logs in script so that it will be available in workflow instance monitor?

Regards,
Muni
Request clarification before answering.
Hi Muni,
as of today this is not yet possible out of the box.
You could put a service task and push the data field to a REST/Odata service of yours to enable custom reporting.
Can you describe the use case in more details?
Looking at your example, do you want to see the just the date (as a selected attribute), or any data changed in the workflow? Do you want to see this as part of the execution log in Monitor Workflow app, or you want to have the data accessible also via an API?
Thanks and best regards,
Krassimir Kondarev
SCP Workflow
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Muni,
Thank you, I understand your use case now.
Visualizing the data like this is not possible as of today. Generally the execution log contains no data, only the changed fields.
I can understand how displaying context changes between steps can be useful for single data field or even for few fields, however this will quickly become unreadable with multiple JSON objects being changed.
Thanks and best regards,
Krassimir Kondarev
SCP Workflow
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
/rest/v1/workflow-instances/{id}/execution-logsusing execution logs api, i can get the referenceInstanceId,which belongs to perticular step. Will I be able to get the context data using referenceInstanceId? It did not work for me. Looks like this is applicable to only user tasks.
workflow-service/rest/v1/task-instances/{id}/context
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Krassimir,
Thank you for your response. I want to have context data as part of execution log in Monitor Workflow app, so that I can view the context data in each step.
I was working with scripts and wondering if i can see the context data before script step execution and after.
For example if i have a flow like this, soon after scripts gets executed, it continues with service task. once service call is successful then instance disappears from instance monitor. Hence not able to view context data.

Regards,
Muni
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.