Variable activity label
Hi all,
I have a ask where i need the variable code to get the label of the list activity in alert (such as <%= instance.label %> ), without passing any variable in the list activity.

Thanks in advance,
Hi all,
I have a ask where i need the variable code to get the label of the list activity in alert (such as <%= instance.label %> ), without passing any variable in the list activity.

Thanks in advance,
Hi @rch_ ,
To get the label of the List activity inside the alert activity's body email, Please use the below Javascript Code inside the Alert activity :-
<%
logInfo(instance.activities.readGroup[0].label)
vars.labelReadList=instance.activities.readGroup[0].label
%>
<p></p>
<p><%=vars.labelReadList %></p>
<!-- to print label of read list activity --!>
Hope this helps.
Regards,
Pravallika.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.