Add new spinoff flows by activity

Hi,

We have a requirement that after submitting a flow action, the app needs to add some spinoff flows. How do I add spinoff flows by using activity rules? Are there any OOTB activity rules for that?

Spinoff flows created by activity should be similar to flows created by in spinoff subprocess (in a flow rule, there is “Subprocess” shape which has “Spinoff Flow” option),

Thanks,

Dat

@DatThanhDiep Did you check the startFlow activity??

@RamEpuri Could you provide more details how to create spinoff flow using startFlow activity?

@DatThanhDiep : You can try Flow-new method in the activity. it works similar to spin-off flow shape. Refer below article in Pega

https://community.pega.com/sites/default/files/help_v85/procomhelpmain.htm#methods/flow-new/flow-new.htm

@DatThanhDiep If you need it after flow action, have you tried adding the shape in the flow after flow action. That should work. Or as Rahul mentioned, you can use Flow-New method in the activity.

@RahulS

This is exactly what I need. Thank you!

Dat