You are viewing limited content. For full access, please sign in.

Question

Question

Can a workflow (V9) access the previous value?

asked on December 24, 2013

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

0 0

Answer

SELECTED ANSWER
replied on December 26, 2013

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.

 

 

1 0
replied on August 22, 2016

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.

0 0
replied on August 22, 2016

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.

0 0

Replies

replied on December 24, 2013

No, Workflow does not have information on which field has changed or what the previous value was.

0 0
replied on December 26, 2013

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.

 

 

You are not allowed to follow up in this post.

Sign in to reply to this post.