Wait for condition on workflow, wait until the variable on catalog task is changed/udpated
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-15-2019 12:19 PM
I have a scenario where I have 6 variables on the catalog form and 5 variables will be filled in by the end user before submission.
after few approvals a catalog task will be created and the fulfiller team updated the 6th variable until they complete their work.
The workflow should wait for that variable (checkbox type) to become true and then send approval to other team.
can someone provide any inputs how this can be achieved.
Thank you,
pari.
- Labels:
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-15-2019 12:29 PM
The variables are all against the RITM even when shown in the variable editor on a Catalog Task, and as long as your workflow is running against the RITM you can set a Wait for Condition in the workflow. See below, change "variable_name" to the name of your variable that you are waiting for.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-15-2019 01:59 PM
It is not working , i tried it before i posted this question.
The variable is on RITM, but it is updated on Catalog task. Will the above script still works for this scenario?
Please let me know.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-15-2019 02:18 PM
It should, the variable editor has the same variables no matter where you are looking at them or editting them (RITM or Catalog Task).
EDIT: Been doing some more research, and the answer to this from a few years ago is that you need to push an update to the RITM to trigger the workflow to evaluate. I'm pretty sure that I have made this wait for condition work with a previous customer of mine. Let me see if I can get ahold of how I did it and provide a more detailed answer.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-15-2019 02:47 PM
can you post your code? Try force updating the request item to send an update event to the workflow context