Flow Designer Help Please
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-11-2023 11:21 AM - edited ‎08-11-2023 11:22 AM
Hi everyone,
I'm new to flow designer and am having difficulty setting the stages based on states. Initially I had both request and request item set to update but removed request to simplify things. If possible I would like to make sure both are the same. The problem is when I run a "test" the states /stages look like they are all processing correctly. However when I submit an actual request, all of the stages are getting completed. I've simplified this by rooming all of the "ifs" but one and it is still happening. What I am trying to acheive is to have an inital stage and state set. Then if the state changes the stage should also.
Attached are some screenshots to help explain.
Thanks so much for any feedback you can provide!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-11-2023 03:51 PM
Hello,
Flow must wait at certain stages for that stage to reflect. For eg: approval.
Your flow is not waiting anywhere to reflect the stage. It is traversing through all the stages, but as it is not waiting at any stage, you are unable to see the stage value.
Secondly.
Stage and States doesn't have tight coupling connection.
Stages are mainly meant for the users and state is more internal, mainly for reporting purpose. You can set or change state value inside the flow, but there is no synch between them, until you build one.
Kind Regards,
Swarnadeep Nandy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-14-2023 02:05 PM
Thank you @SwarnadeepNandy I think I have things almost working. I adjusted the flow to add the wait for each of the changes I would like and that part now seems to work. However, after making that change the state is now displaying on the request item as 1 and not new. Attached is a screenshot of the flow. Not sure what I can do to correct this.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-15-2023 03:49 AM
Hello @Gemma4 ,
As I can see, you are setting the state in "sc_request" table, whereas you are setting the checking in RITM[sc_req_item] table.
Am I missing something?
Kind Regards,
Swarnadeep Nandy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-15-2023 08:35 AM
Thanks for the feedback! Yes I need to update both the request and Request Item. I did this same action in my company dev instance instead of pdi and didn't have the issue with the values. Maybe that is a different issue with pdi I need to investigate.
However, my initial issue of the stages is still continuing. I added the wait condition for the first action and that works great. However, when I set the closed info it isn't waiting until closed is set. The flow is automatically setting the request stage to closed when the state is proceed. The stage should only move to closed complete if the state is set to that. I tried removing the last wait and just having an if condition and that also does not work. see attached. Do you have any suggestions? Thanks so much for the guidance! I'm so close to having this done.