{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":4236,"path":"build-workflows/workflow-studio/invoke-pace-policies.md","title":"Invoke PaCE activity","bundle":null,"doc_type":null,"release":"australia","body":"\n# Invoke PaCE activity\n\nEnable the Policy as Code Engine \\(PaCE\\) activity in Playbooks to develop playbook processes.\n\n## Roles and availability\n\nThese activities are available as part of the application that is automatically bundled with PaCE. Users with the admin, pd\\_admin, pd\\_author, or pd\\_content\\_author can add these activities to a playbook.\n\n## Inputs\n\nOpen the activity properties panel and configure your activity to add values for the following inputs. If the input value varies, use the pill-picker to show where to get the value. To learn more about the pill-picker, see [Dot-walking examples](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/platform-user-interface/dot-walking-examples.md).\n\n<table id=\"table_qmc_knm_sbc\"><thead><tr><th>\n\nName\n\n</th><th>\n\nType\n\n</th><th>\n\nDescription\n\n</th></tr></thead><tbody><tr><td>\n\nLabel\n\n</td><td>\n\nString\n\n</td><td>\n\nTitle to display as activity and playbook card.\n\n</td></tr><tr><td>\n\nDescription\n\n</td><td>\n\nString\n\n</td><td>\n\nInformation to display about activity usage or outcome.\n\n</td></tr><tr><td>\n\nRun condition\n\n</td><td>\n\nCondition Builder\n\n</td><td>\n\nConditions that must be met to run an activity. You can use data from prior activities to build conditions.\n\n</td></tr><tr><td>\n\nWhen to start\n\n</td><td>\n\nChoice\n\n</td><td>\n\nSelect a start rule for when your activity should start running:-   **Immediately**: Your activity starts running as soon as its stage starts running. Your stage starts running when your playbook is triggered.\n-   **Before previous**: Your activity starts before specified activities have finished running.\n-   **After previous**: Your activity starts running after specified activities have finished running.\n\n</td></tr><tr><td>\n\nStart with delay\n\n</td><td>\n\nTrue/False\n\n</td><td>\n\nOption to wait for a duration of time before running an activity or stage. When enabled, this input displays the [Start with delay input properties](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/build-workflows/workflow-studio/start-with-delay-properties.md).\n\n</td></tr><tr><td>\n\nService\n\n</td><td>\n\nString\n\n</td><td>\n\nThe calling service that is invoking the PaCE API.\n\n</td></tr><tr><td>\n\nCategory\n\n</td><td>\n\nString\n\n</td><td>\n\nThe category type.\n\n</td></tr><tr><td>\n\nPolicy tag\n\n</td><td>\n\nString\n\n</td><td>\n\nTag name of the policy.\n\n</td></tr><tr><td>\n\nDocument Ids\n\n</td><td>\n\nArray.Object\n\n</td><td>\n\nName of document IDs.\n\n</td></tr><tr><td>\n\nData\n\n</td><td>\n\nJSON\n\n</td><td>\n\nThe policy-specific data that includes all possible caller inputs.\n\n</td></tr><tr><td>\n\nOptions\n\n</td><td>\n\nObject\n\n</td><td>\n\nOptions of the policy.\n\n</td></tr></tbody>\n</table>## Outputs\n\nThe outputs are configurable in Flow Designer and are set by the Automation plan.\n\n|Label|Type|\n|-----|----|\n|Root execution id|Sys ID \\(GUID\\)|\n|Don't Treat as Error|True/False|\n|Response|JSON|\n|Action Status|String|\n\n"}}