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

Question

Question

How do I set a workflow starting condition to watch for when a certain field has changed?

asked on August 22, 2014

I want to trigger a workflow when only a specific field is changed. (Together with other conditions too). The fields being watched are text fields and can contain anything so I'm only interested in whether it gets changed or not.

 

Here's my use case if there's another way to do this.


I have a A/P business process workflow that is running during the entire process. During that time it stops at various folders and waits for entry changes to certain fields for coding and approval before it moves on.

 

The needs call for notifications to be sent only if the coding fields are changed during a couple of the business processes. What tokens or conditions can watch a certain template field and ignore the changes to other fields that are going on and only trigger (send notifications) if the specific fields that we're watching get changed?

 

If I use Entry Changes Include Template Field Set it's going to fire a workflow every time anything changes on that template. I suppose I can fire that for every change and do some conditions to check the fields but even once I get the workflow started that way how do I measure WHAT has changed?

0 0

Answer

SELECTED ANSWER
replied on August 22, 2014

you can set up a hidden field to store the previous value of the field. 

 

every time the WF starts, you test the field and the hidden field to see if a change occurred. if it changed, store the new value to the hidden field and proceed. if it has not changed, end the workflow

1 0

Replies

You are not allowed to reply in this post.
You are not allowed to follow up in this post.

Sign in to reply to this post.