How to Use Wait for Notification and Notify Workflow Activity?
0
Hi everyone, I am trying to use the Wait for Notification and Notify workflow activities in one of my workflows. Here's my setup: I have a workflow that includes a User Task component. After the user completes the task, the workflow reaches the Wait for Notification activity and gets suspended, as expected. I have a button on a page, and when the user clicks it, a microflow is triggered. This microflow contains a Notify Workflow activity, which is supposed to notify the waiting workflow and allow it to continue. However, when I click the button, I get the following warning message: 'Notifying activity named 'MyFirstModule.Workflow_3.waitForNotification1' is skipped for Workflow 'employeeonboarding' (ID: '2533274790396102' [MyFirstModule.Workflow]) in 'Incompatible' state.' Additionally, the Notify activity is returning false, indicating that the workflow is not being resumed. My Questions: Why is the Notify workflow activity being skipped and marked as incompatible? If the workflow is suspended at the Wait for Notification activity, shouldn't the Notify activity return true when triggered? I'd really appreciate any insights or suggestions on how to resolve this issue. Thank you!
asked
Zia Sayyad
1 answers
0
Zia,
'Incompatible' is usually a situation encountered when you try to perform a workflow activity using an executing workflow that was initiated with an older version of the workflow. Have you tried this with a workflow that was initiated with the most up to date version of the workflow?