Reopen the Catalog task and Stop the Flow from creating a new task

milesallsmyles
Tera Contributor

I'm tasked with what would happen if a user was to reopen a task. From what i read online the answer would involve restarting the flow. Well restarting the flow means that it uses all actions involved and one of the actions is to Create a Catalog task. Is there a way to use the same catalog task? 

2 REPLIES 2

GlideFather
Tera Patron

Hi @milesallsmyles 

that would strongly depend on how are you (work)flows maintained...

 

Reopening task can be ignored in my client's side but can reopen in yours and vice versa, for this no universal answer exists. You would need to check the conditions.

In the flow designer you have a condition:

  • Record from (your table) is crated or updated
  • Record from (your table) is updated

So only with this you can set the behaviour accordingly.

 

It also depend on what kind of task the reopening is happening - for incidents the options to reopen is possible and very often, while for requested items it will be super problematic (because the linkage of REQ/RITMs/SCTASK), as once you close you change the stage and state and reopening is not possible and manually changing it will have no impact on changing the stage and state. While they both extend Task table, they have different lifecycles.

 

ALso, both resolving and closing will trigger notifications, eventually surveys etc. Creating new records while reopening it - where applicable - doesn't make any sense to me but perhaps it is business requirement that I cannot imagine :))

 

Do you have any questions about specific use case?

———
/* If my response wasn’t a total disaster ↙️ drop a Kudos or Accept as Solution ↘️ Cheers! */


Yes i have  a question for my specific use case. I'm using the FlowApi to restart a flow. Even though i already have a task that im using to reopen to kick the flow off it makes a new task. is there an input i can put into the api  to get it to ignore the Create Catalog task but i would preferably want to use the same Catalog task that's already attached to that Ritm

 

Edit: @GlideFather