SupportCenter Plus

    Auto Invocation

    With Auto Invocation settings you can define rules to automatically invoke any custom class or script file. These rules can be applied to a request when it is created, (or received) or edited.

     

    To configure auto innovation settings,

    1. Click on the Admin tab in the header pane.

    2. Click the External Actions auto-invo-iconicon under the Main Settings block.
    3. Click Automatic Invocation from the left menu. The External Actions - Automatic Invocation list view page opens. From this page, you can Add, Edit and Delete action rule.

     

    Follow the steps given below to configure automatic invocation.

     

    Add New Action Rule

    1. Click New Action link available at the top right corner of the Automatic Invocation list page.

    2. Enter the rule details such as, the Action Name and a Description for the rule. The Action Name is a mandatory field.

    3. Choose one of the two execute option from the Execute the Action drop down.

      • When a request is created - Select this option to apply the rule when a request is created.

      • When a request is edited - Select this option to apply the rule when a request is edited.
        NOTE: The action rule will be applied only on changing the request properties.

    4. Define rules and criteria that need to be satisfied  by the incoming request. Set the criteria from Select Criteria  and the corresponding Condition from the drop down, and then the individual values that need to be matched by clicking the bu-choose-button button. The values from the database for those particular parent criteria  that you choose from the drop down list opens. Select the check box beside the values you want and click OK.
    5. If there is more than one criteria then you can select the option ‘and’ to match all of the criteria or you can select ‘or’ option to match any of the criteria.
    6. Click Add another criteria link to add more rules with criteria and conditions following the above steps.
    7. After defining the rules, you need to define the actions that need to be performed on the request matching above criteria. Select the action item between ‘Execute Class’ or ‘Execute Script’ to be performed on the request from the Choose Actiondrop-down menu.
      • If you select the Execution Type as Class, then you need to specify the Executor class in the field provided. For example, "com.scp.jira.jiraImplementation".
      • If you select the Execution Type as Script, then you need to specify the name and path of the script file in the field provided. For example, "cmd / c Index.bat". By default the scripts will run from "[SCP_Home]/custom_scripts/” directory.
    8. By default, the Stop processing subsequent Actions check box is enabled and the execution of the action will stop once a rule is applied on a request. On deselecting this option, execution of successive action will continue (as per the action rule order) even after an action rule is applied on a request.
    9. Click Save.

    Once the action rule is saved, it gets added to the Automatic Invocation list page. In the Automatic Invocation list page, the action rules are displayed under the following two blocks: When a Request is created and  When a Request is edited. The order in which the rule is applied on the request can be set by reordering the rules within the block. To know more refer, 'Organize Action Rules'.

     

    From the Auto Integrations list page, you can edit, delete, and enable or disable the rule.

     

    Edit Action Rule

    1. Click the Edit link beside the Action Rule Name you wish to edit.
    2. Modify the details such as the criteria and actions from the form.
    3. You can also delete a criteria completely by clicking on the delete icon remove-action-iconbeside the individual criteria.
    4. In the actions to be performed, you can modify the actions that need to be performed on the request that matches the criteria defined.
    5. Click Save to save the changes performed.

    Delete Action Rule

    1. Click the Delete link beside the Action Rule Name you wish to delete. A confirmation dialog is opened.
    2. Click OK to proceed with the deletion. If you do not want to delete the action rule, then click Cancel.

    Organize Action Rules

     

    Organizing the action rules decide the order in which the rule is applied on the request. You can organize the action rule to appear in a particular order in the list view,

    1. In the Automatic Invocation list page, hover the mouse over the rule which you want to reorder.
    2. The reorder icon reorder_button appears beside the rule, click and drag the rule and place in the desired position. The action rules will be applied to the requests based on the organized order.
    3. To reorder more action rules, repeat steps 1 and 2.

     

     

    Copyright © 2014, ZOHO Corp. All Rights Reserved.