Working with Actions
Last updated
Last updated
Go to Actions tab and press "New" button .
"New KanBan Action" page will be shown. Provide Action Name, choose Context Object, Type and Status (active or inactive).
Check "With conditions" if needed to execute actions not always. Set up Conditions in the section that will be shown below.
When Action Type is selected, a Settings section (it's actual header depends on selected Action Type) will be shown below. Configure the action settings based on its type and press "Save" button.
After the action is created new set of functionality becomes available.
Allows to clone the Action.
Click "Clone" button to open popup.
Enter New Name,
Check "Open Action After Clone" if needed and click "Clone" button.
Allows to share the Action to Users, Roles, Roles and Subordinates, Public Groups.
Click "Share" button.
Add Users/Groups/Roles to whom you want to share.
Select Access Level: Read Only or Read and Write.
Click "Save" button.
Allows to execute action.
Click "Execute" button.
Add Source - Id of the record for which action should be executed (is shown only if select context object type).
Add Variables if needed.
Click Apply button.
Allows to execute action in batch for specified query.
Click "Execute in Batch" button.
Query - scope of records for which you need to run the action in batch. Query is a SOQL query which should define the list of source records (see SF SOQL query language).
Batch Size - is the size of the batch job iteration. E.g., if Query returns 46 records and Batch size = 10, system will start the batch job iteration 5 times.
If "In Single Call?" is turned on, the batch job iteration will execute action 1 time and pass it IDs of records in the "ids" variable. If "In Single Call?" is off, the batch job iteration will execute action for each record, passing it's record ID each time.
When "In Single Call?" is off, a "Pass Source?" checkbox becomes available. If it is turned on, the record will be passed to action as a Source object, which properties action author can work with. If "Pass Source?" is off, the record ID will be passed to action in the "recordId" variable and action author should configure it's usage itself.
Add Variables if needed.
Click Apply button.
Allows to schedule execution of the action.
Click "Execute on Schedule" button.
Enter Schedule Job Name .
Cron - Salesforce cron expression which sets schedule of job runs - see more details at Salesforce help.
Source - Id of the record for which action should be executed.
Add Variables if needed.
Click Apply button.
Allows to schedule execution of the action in batch for specified query.
Click Execute on Schedule in Batch button.
Enter Schedule Job Name.
Cron - Salesforce cron expression which sets schedule of job runs - see more details at Salesforce help.
Query - scope of records for which you need to run the action in batch. Query is a SOQL query which should define the list of source records (see SF SOQL query language).
Batch Size - is the size of the batch job iteration. E.g., if Query returns 46 records and Batch size = 10, system will start the batch job iteration 5 times.
If "In Single Call?" is turned on, the batch job iteration will execute action 1 time and pass it IDs of records in the "ids" variable. If "In Single Call?" is off, the batch job iteration will execute action for each record, passing it's record ID each time.
When "In Single Call?" is off, a "Pass Source?" checkbox becomes available. If it is turned on, the record will be passed to action as a Source object, which properties action author can work with. If "Pass Source?" is off, the record ID will be passed to action in the "recordId" variable and action author should configure it's usage itself.
Add Variables if needed.
Click Apply button.