Workflow not starting

scottcoen
Giga Contributor

Hi,

I'm running into a scenario with a workflow I created not triggering on an update to one of its fields.

Scenario

1.) Workflow A is kicked off when data is inserted into Table A (Custom Table) - WORKING AS EXPECTED

2.) Workflow A updates one or multiple rows Table B (Custom Table), Table B has associated Workflow B with a start condition of on updates, and this field is set to the string 'ACTIVE' Start - Working AS Expected (and note this usually means multiple instances of this Workflow are fired off as multiple fields are usually updated)

3.)Workflow B does its thing, then when Complete Updates data in Table A to let it know its done. Workflow A is sitting on a Wait condition for this field to Change - WORKING AS Expected

4.)Workflow A does some cleanup and then starts off the next batch of Workflow B, via same method of updating rows in Table B and switching field to ACTIVE - WORKING AS EXPECTED

5.) Workflow B never starts up. The trigger field is set to the correct string (ACTIVE). In the list view I can simply cut out that string, put in something else, and then paste back in, it Starts up. Which verifies its nothing with the string itself   -Broken

If anyone has any ideas of what could be the issue Im all ears or any logs that I could look at to help figure this out, the usual Workflow context log and the system log dont seem to have any helpful data.

Any assistance is much appreciated!

Scott

1 ACCEPTED SOLUTION

Thanks for the reply. It clicked in my head last night to what the issue is.   Since this is a process being built, the workflows I'm working on are checked out to me and not published.   Since my session is what kicks the process off and starts the first batch, all is well. But when it goes to kick of the next, it leaves my session and updates the next set of records. With the workflow not being published it never gets fired again with it no being done so my account.   I published and verified all works as expected.



I appreciate the time!



Scott


View solution in original post

2 REPLIES 2

SanjivMeher
Kilo Patron
Kilo Patron

Is your wait for condition is condition fine in Workflow B? Can you post a script on how are you comparing values in wait for condition



Also can you post a screenshot of the row showing what value you are populating on Table B to trigger.



Please mark this response as correct or helpful if it assisted you with your question.

Thanks for the reply. It clicked in my head last night to what the issue is.   Since this is a process being built, the workflows I'm working on are checked out to me and not published.   Since my session is what kicks the process off and starts the first batch, all is well. But when it goes to kick of the next, it leaves my session and updates the next set of records. With the workflow not being published it never gets fired again with it no being done so my account.   I published and verified all works as expected.



I appreciate the time!



Scott