We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

How to trigger subflow from Lifecycle event activity?

kalp
Tera Contributor

Hi ,

I have created a Subflow and attached it to an Activity in the Lifecycle events . when  a case is submitted. subflow is not getting triggered . 

using  the subflow I need to create HR task and emails based on several condition.

In activity mapping field , it is showing some error, as not compatible for  trigger.current 

 

Please provide solution on how to make it work .

 

 

 

Thanks in advance,

Kalyani

3 REPLIES 3

VaranAwesomenow
Mega Sage

Did you try to test Life cycle event to confirm that it is working correctly, Example of a test life cycle event looks like below

VaranAwesomenow_0-1730133168590.png

 

Hi Varan,

Yes I have tested the Lifecycle event, it is working as one of the activity 1 with HR case is created , but  activity2 with flow is not , as the HR task and Email is not created given in the flow.

 

showing below error in the case

kalyani23_0-1730178577052.png

Could you show Activity mapping for trigger.current .

As it is further used as data pill to associate with others records in the flow .

 

Thanks

VaranAwesomenow
Mega Sage

I tried to create a activity with subflow as trigger, I made a video recording for reference.

https://youtu.be/eBGS7Nrt-VQ?feature=shared

 

 

This is response to a community question on triggering a subflow from lifecycle event activity. This video doesnt have audio its video only.