AnsweredAssumed Answered

Custom Workflow For start an workflow and send an email to user

Question asked by aishu on Jul 15, 2019
Latest reply on Jul 15, 2019 by aishu

Dear Team,


I need workflow for when documents get imported/updated then workflow should start and mail has to send to user, So i have created script file for custom workflow, please refer following script for custom workflow:


var workflow = actions.create("start-workflow");
workflow.parameters.workflowName = "activiti$activitiReview";
workflow.parameters["bpm:workflowDescription"] = "Please assign approver for "+;
workflow.parameters["sendEMailNotifications"] = true;


but when i set to- Action->Execute script->Scipt name then workflow is assigned to user but mail not send to particular user, can u suggest how to add script for mail also in this script,


Kindly suggest!