How to get action name in a Business Rule (Server Side script)

harinalamalapu
Giga Expert

I know 'g_form.getActionName()' can be used in client-side script to identify the action name, what is the equivalent command on a server-side script ? I will need to identify the action that triggered the business rule to add a condition (on the business rule condition field or the script) based on that.

11 REPLIES 11

Hi, Is there any impact with this?

I had the same question, according to service docs and the activity itself, seems we can do scripting conditions on group level. 

Examples : 

groups[group_id].approved = # of users that approved so far

counts.total = total number of groups that are part of this approval
// counts.approved = # of groups that approved so far

So if certain groups have approved then we decide to fire an event for rest of the groups or if more certain percent of group approved, we can complete the activity

For Approval - user, conditions is based on user level