Creating a Scoping Action
Scoping actions enable you to define actions to run according to the responses in a scoping session. The relevant actions run when an estimate is created from a scoping session. You can also add conditions to actions so that they only run when the specified criteria is met.
For example, if an estimator's response to a requirement indicates that training is not required, an action can be created to remove the role requests for trainers from the estimate that's created.
To create a scoping action:
- Do one of the following:
- On the Scoping Requirement Responses tab, click New.
- On a requirement response record, on the Scoping Actions related list, click New.
- Check or update the requirement response that the action belongs to. The requirement body and response body of the selected requirement response is displayed.
- Complete the appropriate steps based on the type of action you require.Set Field Value
This option enables you to set the value of a field on a related estimate object to a specified value.
- Select Set Field Value, then click Next.
- [Optional] Enter a run order number to determine the order that the action is performed. An action with a run order of 1 is performed first when an estimate is created from a scoping session. If you do not manually specify a run order, actions are performed according to the order in which they were created.
- Select the target object that contains the field you want to update.
- Select the target field that you want to update.
- Enter the value that you want the target field to contain.
- Click Next.
- [Not Available for Estimate Product Target Object] You can add field conditions to the action. This enables you to define specific attributes of the new estimate's records that must be met for an action to be executed on them. For example, if you only want to delete role requests for trainers, you can set a condition where the resource role must be "Trainer". To add field conditions to the action:
- Click Add Condition.
- Select a field. The fields displayed are from the selected target object.
- Select an operator.
- Select the value to filter by.
- Repeat steps i-iv for each condition you want to add.
- Review the affected records in the Preview Records to be Modified by Scoping Action section.
- Click Create.
To remove a condition, click .
Modify Field ValueThis option enables you to modify the value of a number field on a related estimate object by adding, subtracting, multiplying, or dividing a specified value.
- Select Modify Field Value, then click Next.
- [Optional] Enter a run order number to determine the order that the action is performed. An action with a run order of 1 is performed first when an estimate is created from a scoping session. If you do not manually specify a run order, actions are performed according to the order in which they were created.
- Select the target object that contains the field you want to update.
- Select the target field that you want to update.
- Select one of the following operators for the field modification:
- "Add" to add the specified value to the value in the selected target field.
- "Subtract" to subtract the specified value from the value in the selected target field.
- "Multiply" to multiply the specified value with the value in the selected target field.
- "Divide" to divide the specified value by the value in the selected target field.
The target field is updated with the resulting value.
- Enter the value that you want to use with the operator to modify the field.
- Click Next.
- [Not Available for Estimate Product Target Object] You can add field conditions to the action. This enables you to define specific attributes of the new estimate's records that must be met for an action to be executed on them. For example, if you only want to delete role requests for trainers, you can set a condition where the resource role must be "Trainer". To add field conditions to the action:
- Click Add Condition.
- Select a field. The fields displayed are from the selected target object.
- Select an operator.
- Select the value to filter by.
- Repeat steps i-iv for each condition you want to add.
- Review the affected records in the Preview Records to be Modified by Scoping Action section.
- Click Create.
To remove a condition, click .
Delete RecordThis option enables you to delete the specified object's records from the estimate that's created from the scoping session. For example, if you don't want role requests for certain roles in estimates when a specific criteria is met, you can omit them using this action.
- Select Delete Record, then click Next.
- [Optional] Enter a run order number to determine the order that the action is performed. An action with a run order of 1 is performed first when an estimate is created from a scoping session. If you do not manually specify a run order, actions are performed according to the order in which they were created.
- Select the target object that you want to delete the records of.
- Click Next.
- [Not Available for Estimate Product Target Object] You can add field conditions to the action. This enables you to define specific attributes of the new estimate's records that must be met for an action to be executed on them. For example, if you only want to delete role requests for trainers, you can set a condition where the resource role must be "Trainer". To add field conditions to the action:
- Click Add Condition.
- Select a field. The fields displayed are from the selected target object.
- Select an operator.
- Select the value to filter by.
- Repeat steps i-iv for each condition you want to add.
- Review the affected records in the Preview Records to be Modified by Scoping Action section.
- Click Create.
To remove a condition, click .
Run FlowThis option enables you to run a specified flow.
- Select Run Flow, then click Next.
- [Optional] Enter a run order number to determine the order that the action is performed. An action with a run order of 1 is performed first when an estimate is created from a scoping session. If you do not manually specify a run order, actions are performed according to the order in which they were created.
- Select the flow that you want to run.
- Click Create.
- Repeat steps 1 and 2 to create more actions.
Your users can now use scoping sessions to create an estimate. For more information, see Creating an Estimate in a Scoping Session.