"Workflow Set Status (other workflow)" Action - "Process Target Workflow" option not working as expected #5220
Labels
Fixed in v16.4
Status: Confirmed
It's clear what the subject of the issue is about, and what the resolution should be.
Type: Bug
Confirmed bugs or reports that are very likely to be bugs.
Description
The workflow action "Workflow Set Status (other workflow)" is not working as expected ... specifically the "Process Target Workflow" option for this action.
Based on the description of the "Process Target Workflow" option - setting this to "Yes" should cause the target workflow to continue processing immediately - and not wait for the scheduled workflow job. However - this is not the case - setting this to "Yes" is not forcing the target workflow to process.
Steps to Reproduce
Primary workflow will be used to Activate an Activity "WrapUp" in an existing instance of the Secondary workflow - and then set the status of the Secondary workflow with the option to Process Target set to Yes.
Secondary workflow has 3 activities:
BTW - I setup a mockup of this on the demo site (under SetStatus Issue folder in workflows if you hurry) ... but I've attached exports of the 2 workflows I used if you need to reload them.
WorkflowSetStatusIssue.zip
Expected behavior:
When the primary workflow completes - the secondary workflow should immediately process its WrapUp activity.
Actual behavior:
The secondary workflow is still active - and no processing has occurred. But if you wait for the scheduled workflow job (or manually trigger it) ... the secondary workflow will process.
Versions
The text was updated successfully, but these errors were encountered: