I have to auto close a task after 1 business day im using flow designer

suprajam
Tera Contributor

I'll share the picture can you please assist me if

 

 

suprajam_0-1669827816961.jpeg

 

7 REPLIES 7

Ishaan Shoor
Mega Sage
Mega Sage

By the above screenshot it looks like you need to close a task(highlighted in yellow) which is generated as a part of a flow execution, so you can add a condition in the same flow to wait for 1 day and then use update record action to close the task. Let me know if you have any questions

.

 

Hope this helps!
BR.
Ishaan Shoor

suprajam
Tera Contributor

hi @Ishaan Shoor if i use wait condition and update record, if i give the wait condition for 1 business day even if the task will be closed manually only the task will be set to closed complete but the whole RITM irrespectively will not close and the stage will be shown as work in progress.

Hello suprajam,

 

To deal with this kind of behaviour, we implement a mecanism with specific event and we wait for it in a workflow.

The event is generated by a business rule when all the tasks of a requested item are closed, and passed to its workflow.

At this point, you have to write a job, scheduled each hour, to auto-close tasks older than one day.

As your flow is waiting for event, it will be triggered when the tasks are manually or automatically closed.

 

I'm not used to working with Flow Designer, so I don't know if you can apply this in flows.

I hope it can help anyway.

 

Regards,

Loïc

newhand
Mega Sage

HI @suprajam 

I can't see the image clearly, so i'm not sure if i have understand your needs.

If the need is only  "auto close a task after 1 business day",

Just simplely create a flow with trigger "daily" and querys the task table to check if there are any tasks not closed and have passed 1 business day.

Then close them....

 

 

 

 

Please mark my answer as correct and helpful based on Impact.