Chicken and Egg Scenario Task Wait

Richard P
Mega Guru

Hi, 

I have a loop generating tasks based on a record in a custom table. 
The record in the custom table is generated by a previous task activity.
The record is associated so it can bee seen in related list to the task that created it.
so then the loop runs, and for every new record created...It creates a new task!

I want the record to be updated with the new task creation, instead of the old one...but the task doesnt exist till I create task, and once im in the task, I cant really update the record while it waits for task completion.

any elegant ideas to get around this?

1 ACCEPTED SOLUTION

Richard P
Mega Guru

Thanks @Brad Bowman   for the help.   I have however, sussed it. I knew there was a simple solution somewhere. Kicking myself once I stared blankly at the screen long enough for the solution to manifest to me.

Its this (in case you need it or anyone else in the future)

Obvious really!

1. Do NOT!!! set the task to wait for completion.
2. update the  other record
3.  Set a wait for condition on the task in 1...state=closed.

slaps own forehead!


View solution in original post

5 REPLIES 5

Richard P
Mega Guru

Thanks @Brad Bowman   for the help.   I have however, sussed it. I knew there was a simple solution somewhere. Kicking myself once I stared blankly at the screen long enough for the solution to manifest to me.

Its this (in case you need it or anyone else in the future)

Obvious really!

1. Do NOT!!! set the task to wait for completion.
2. update the  other record
3.  Set a wait for condition on the task in 1...state=closed.

slaps own forehead!