My ask is simple, I want to send email to task owner as soon as a task is assigned to him or her. The email subject should contain name of the task and if possible link to it. What I have was able to achieve so far is below
Create email connector which executes on start of task
To get dynamic task name I tried using below code
apiAccessor.getProcessAPI().getActivityInstance(activityInstanceId).displayName)
but this always returns null. Any thoughts ?