What's the correct way to complete a RITM flow in Flow Designer?

Max Nowak
Kilo Sage

Hi,

I'd like to know the correct way to complete a RITM flow. As of now, I'm a little confused, because it seems like the correct way would be to set the stage to "complete" via those yellow stage bars in flow designer - but I can only add stages before an action, not after it, so setting the stage can't be the last action in a flow.

Because of that, I have always done the following:

find_real_file.png

But this is redundant, since setting the stage to completed also sets the state of the RITM to closed complete, which is observable on the record, which gets closed twice - once by the stage, then by the update item action. I could, of course, add some bogus action that actually does nothing, just to be able to set the stage. But there must be a better way to do this?

Nothing I tried so far works or is more elegant. I can't just use the update record action, because the stage field on the RITM table does not contain the "Completed" stage. If I omit setting the stage, the parent request won't get closed, because that business rule triggers on the stage field, not on the state field.

I'd like to know how other people using the flow designer handle this.

Thanks in advance for your help,
Max

7 REPLIES 7

JeremiP
Tera Guru

Hi! I was just curious if you have found any official answer to this question? I've been avoiding using Flow Stages for the exact same reason.

NavyaSwetha
Kilo Guru

One other curious person here looking for logical answer to use Flow Stage as completed, after the last action in the flow.

-Swetha.CN

Z B
Tera Contributor

What I always do is to add 'End Flow' step at the very end so it is possible to set Stage to Completed after the last action in the flow