I've got a workflow that is triggered by a change event, but I need to know which field has changed. Either that, or have access to the old value of the field. Is there any way of doing this?
John
I've got a workflow that is triggered by a change event, but I need to know which field has changed. Either that, or have access to the old value of the field. Is there any way of doing this?
John
If you are using version control, you can use a script to access the previous version.
At Empower 2014, the class, BPM303: Workflow Scripting and Custom Activities at 1/17/2014 1:30:00 PM will cover this very topic.
This answer does not seem to be very helpful to me. All I can download is the presentation slides which provide no information on how to retrieve version information from scripting. Does anyone have any source code examples that can be provided? Also, where can I find the API reference documentation on how to write scripts in Workflow? I am familiar with the SDK but not all the nuances of how to use the SDK within workflow, for example, how to get the Entry ID of the document being processed, etc.
You would have to write an SDK script in Workflow. That would be using the Laserfiche SDK, not the Workflow one. The script activity is built into Workflow, you don't need the Workflow SDK for it.
If you would like to look through the Workflow SDK anyway, it's part of the Workflow installation. Documentation and sample projects are installed when you choose that feature.