Posted: 1 Nov 2017 3:10 EDT Last activity: 6 Nov 2017 9:54 EST
Actions Fired sequentially from the UI but are not responded from the server sequentially-Need a workaround
I have a finish assignment that fires a post processing activity and this activity sets a property X to a value. However,I need to conditionally(Based on X) create a new case which has to wait until property x is set .However, the event create work does not fire because the value of X is not set at the time the actions are triggered although they are called sequentially. Create work does not wait for Finish assignment to complete.
When constructing a UI action list, the call to FinishAssignment must always be the last action in the list. There are other reasons besides synchronization why this rule cannot be violated.
Once the FinishAssignment completes, I'm sure you have some other screen that then renders. Can you circumstance that screen based upon the value of the property that you have set? If the property is set, fire off a Create Work?