I'd like to ask
I have a process when submissions are submitted to admin
but the admin doesn't respond for example 1 minute
then the status of the application will automatically be rejected
activity on "ignore review"
it was closed and successfully rejected automatically, then I want "admin" to also be closed automatically if the admin does not ignore for 1 minute and do an update on the activity "admin" close on is when the status is "review", and "admin" will be closed status
I'm also asking what function or action is performed in the "due date" column.
in each activity?
what is the solution
if there are suggestions and input I am very happy for it
*I am attaching some screenshots
Thank You
Hi Muhamad,
see this documentation, there is a section called 'joining with forced termination'
Dorine
thanks for answering
but I'm still confused about the due date property being used at what time and can you give an example of the case?
Well,
You are talking about max 1 minute of wait for the admin to do his work.
I think that is extremely short, but that would be a timeout on the wait of Addminutes(CurrDateTime(),1)
Just 1 minute for a trial run so I don't have to wait long for the results or actions of the "due date" if it's overdue
if the time limit specified for the admin has passed what will happen?
sorry I'm a little confused
see that documentation i pointed you to :
if you put both the wait and the human activity in a sub process, and you make both branches end with a terminate in that sub process, then if either of them is done, the whole sub process will terminate and your main process continues with whatever comes after that sub process.
So in your example, if the wait is done after 1 minute, it will terminate the whole sub process, so the human activity will also not have to be executed anymore.
On a different note, that logic you have now put into the OnClose of that Wait, I think that should just be an Automatic Activity in the flow right after the Wait. And you probably want to start it with a GetForUpdate rather than an aggregate.