Action Plan Automation, Flow via CreateActionPlanfromTemplate
Discussed in https://github.com/SalesforceLabs/ActionPlansV4/discussions/109
Originally posted by tatertotsey March 23, 2023 Hi, I am trying to create an Action Plan depending on pre-created Action Plan Template via flow.
If an Opportunity's stage changed into Closed, the flow is triggered and creates Action Plan from Template. The issue is, when the Action Plan is created via flow, the controlling fields of the tasks become different from the chosen template.
If I create the Action Plan manually, the depending fields seems exact to the ones in the Template, so no problem there.
What should be the solution to this, what am I missing while creating the flow? Thank you!
Appears we may need to reconcile VF-driven Apex from Invocable-driven Apex. May need to centralize more around our batch process - but could have implications if action is run from asynchronous Flow. Needs more research.
Thanks for raising this issue @tatertotsey