If one Task is closed complete create a new task if task is closed in complete doesnot all the tasks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2024 02:12 AM
Hi All,
Can anyone please help me on below query,
I want to create a HR task using flow designer
I have 4 tasks below, this tasks should create sequentially
1, A
2, B
3, C
4, D
If 'A' HR task state is closed in complete, then create B HR task,
If B HR task state is closed incomplete does not create C, D HR tasks.
Please help me to achieve this.
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2024 04:14 AM
You can use the 'wait for condition' and have the flow wait for the change of status. If OK, proceed and create the next one, if not, stop the flow.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2024 04:19 AM
There's multiple ways to interpret this logic.
- Does TaskB *always* fire, or *only* when TaskA closes incomplete?
This is what your flow will look like (assuming TaskB always fires):
1 - Create TaskA (set wait = true)
2 - Create TaskB (set wait = true)
3 - If <state from node 2> != Closed Incomplete
3.1 - Create TaskC (set wait = true)
3.2 - Create TaskD
End Flow
If you want B to fire ONLY when TaskA closes incomplete....
1 - Create TaskA (set wait = true)
2 - If <state from node 1> != Closed Incomplete
3 - Create TaskB (set wait = true)
4 - If <state from node 3> != Closed Incomplete
4.1 - Create TaskC (set wait = true)
4.2 - Create TaskD
End Flow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2024 10:27 PM
One more option to consider is to use HR Life cycle events activity set , if used along with activity containers it will help you streamline above task creation process with no code approach or having a need to create a flow.