AutomationsManager
Props#
prop | type | required | default | Description |
---|---|---|---|---|
token | string | true | Token to authenticate the end user. | |
apiBaseUrl | string | false | URL to the API endpoint of your Rollout environment. | |
onAutomationCreated | See AutomationCreator | |||
onBeforeAutomationCreate | ({ automationData }) => (boolean | { automationData) } | See AutomationCreator | ||
prefilled | object | false | Data that can be prefilled for the trigger. Please see the section on creating automations. | |
getDefaultActionInputParams | false | See Dynamically Prefilling Actions. | ||
getDefaultTriggerInputParams | false | See Dynamically Prefilling Actions. | ||
filter | (automation) => boolean | false | A predicate function callback used to filter the automations. | |
allowedActions | object | function | false | See Limiting Allowed Apps. | |
allowedTriggers | object | function | false | See Limiting Allowed Apps. | |
title | string | false | Customizes the title of the manager. | |
searchPlaceholder | string | false | Customizes the placeholder of the search bar. | |
noAutomationsMessage | string | false | Customizes the message displayed when no automations are found. | |
newButtonText | string | false | Customizes the text of the button used for creating new automations. | |
saveButtonText | string | false | Customizes the text of the button used for saving an automation. | |
deleteButtonText | string | false | Customizes the text of the button used for deleting an automation. | |
viewButtonText | string | false | Customizes the text of the view button on an item's menu. | |
variableMenuActivator | string | false | Customizes the text that triggers variable list in text editor. |
Props#
prop | type | required | default | Description |
---|---|---|---|---|
token | string | true | Token to authenticate the end user. | |
apiBaseUrl | string | false | URL to the API endpoint of your Rollout environment. | |
onAutomationCreated | See AutomationCreator | |||
onBeforeAutomationCreate | ({ automationData }) => (boolean | { automationData) } | See AutomationCreator | ||
prefilled | object | false | Data that can be prefilled for the trigger. Please see the section on creating automations. | |
getDefaultActionInputParams | false | See Dynamically Prefilling Actions. | ||
getDefaultTriggerInputParams | false | See Dynamically Prefilling Actions. | ||
filter | (automation) => boolean | false | A predicate function callback used to filter the automations. | |
allowedActions | object | function | false | See Limiting Allowed Apps. | |
allowedTriggers | object | function | false | See Limiting Allowed Apps. | |
title | string | false | Customizes the title of the manager. | |
searchPlaceholder | string | false | Customizes the placeholder of the search bar. | |
noAutomationsMessage | string | false | Customizes the message displayed when no automations are found. | |
newButtonText | string | false | Customizes the text of the button used for creating new automations. | |
saveButtonText | string | false | Customizes the text of the button used for saving an automation. | |
deleteButtonText | string | false | Customizes the text of the button used for deleting an automation. | |
viewButtonText | string | false | Customizes the text of the view button on an item's menu. | |
variableMenuActivator | string | false | Customizes the text that triggers variable list in text editor. |