How to get action name in a Business Rule (Server Side script)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-03-2016 09:57 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-11-2018 10:22 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-27-2020 10:50 PM
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