Within you task action plan list you may need to open a custom blade from your call to action.
Step 1 - Identify the id of your form
Go to the modeller area of the system and open your form. Get the form unique identifier from the formbuilder definition.
Modeller > Workflow and Forms > Form builder > form name
Step 2 - Add in your call to action to you Execution Engine Plan
Use the following snippet as an example to add in you action plan item and call to action
//Risk Assessment
var newRiskAssessmentC2A = actions.sharedo.BuildActionPlanItem()
.WithDescription("Capture: Risk Assessment")
.AddCheckbox()
.WithCallToAction
(
actions.sharedo.BuildCallToAction()
.WithDisplay("Open", "fa-check")
.WithCommand
(
"invoke-blade",
{
blade: "Sharedo.Core.Case.FormBuilder.Panels.AspectAsPanel",
bladeJson: JSON.stringify({
"sharedoId": ctx.sharedoId,
"formId": "6c2a6559-d4d2-45b0-bb00-d23bd2f3612c",
"title": "Open"
})
}
)
.Build()
)
.Build();