The CreatorCon Call for Content is officially open! Get started here.

what is the use of "Generate activity workflow''

Kishore8
Kilo Guru
2 REPLIES 2

Michael Fry1
Kilo Patron

Definition and examples here: Generate workflow activity


Harsh Vardhan
Giga Patron

Hi



The Generate activity immediately creates task or approval records from any task or approval activities placed after the Generate activity in the workflow execution path. Without the Generate activity, the workflow waits to create any records until reaching the associated activity.


Use this activity to create task or approval records before the workflow reaches the task or approval activity.



The activity state tells the workflow engine how to handle the record being executed. Possible state values are:


*Executing: the workflow engine starts the 'onExecute' function of the activity.


*Finished: the activity finished running. See the result value for the outcome of the activity.


*Cancelled: this activity, or the workflow that contains this activity, was canceled.




Keep in mind:


*To prevent the Generate activity from creating records from certain activities, select the 'Skip during generate' check box on the task or approval activity you want to skip.



Thanks,


Harshvardhan