Am_thv
December 22, 2022, 10:47am
1
Hi team
I have a scenario wherein a certain user has to approve a workflow, but the condition is that :
Let us assume there are 2 approvers A and B. If Approver A is on leave then he/she have delegated a new approver C for the workflow.
Is there any process in Temporal.io through which I can delegate it using java sdk.
Also I want to main this log (A delegates to C)
maxim
December 22, 2022, 3:07pm
2
Use signals for notifying workflows about any changes. So you can have a signal that notifies workflow that the approver has changed from A to C.
1 Like
Am_thv
December 26, 2022, 5:47am
3
Thank you maxim
Is there any way wherein we can delegate a workflow to another user in temporal.io using java sdk
maxim
December 30, 2022, 11:55pm
4
There is no concept of workflow belonging to a user in Temporal. It is your own business logic. So you can implement it according to your business rules when a signal is received.