Home > Manage Dynamic Services > Settings > Use Controls
Export to PDFYou can add conditions, switches, endpoints, or notes to requester as controls. For how to configure the condition, switch, endpoint, and notes to requester, refer to the instructions below:
Using the condition control to specify different flows that vary with the condition is true or false after validation in the request form.
To define a condition on the Condition card, complete the following steps:
Select a dynamic content from the drop-down list, which is retrieved from what you’ve configured in the previous steps.
Define the condition to Equals, Equal to or greater than, Less than, No less than, No more than, Is, Contains value, Contains substring, Has the permission, Like, Not like, Belongs to, or Matches any of and then specify the condition value.
You can:
Click the add button to add one or more conditions.
Click Add condition to add more condition groups to create complex conditions.
Use the And or Or button to define the logical order of multiple condition groups.
Cloud Governance provides the If yes and If no statements for the condition to check if the given condition is valid. You can click the add button to add available elements to the If yes and If no statements. The corresponding flow that you defined in the If yes or If no statement will be performed depending on whether the condition is true or false.
Using the switch control to specify different flows that vary with different values for the condition after validation in the request form.
To define a switch on the Switch card, complete the following steps:
Select a condition from the Dynamic content drop-down list, which is retrieved from what you’ve configured in the previous steps.
Define the conditional value for Equals in a branch. You can click the add button to add available elements to a branch. If a condition obtains, the flow configured in the corresponding branch will be performed. You can click the add button to add more branches for the switch.
There is a Default branch. If no condition value is satisfied after validation in the request form, the flow that you defined in the default branch will be performed.
The endpoint control is only available to be added to the Condition or Switch flows. Using the endpoint control to show a custom display message or a redirect URL when the condition defined in the current flow is met in a request.
To define an endpoint on the Endpoint card, configure one of the following settings:
Show a custom confirmation message – To customize the message shown in the request form in your desired languages, complete the following steps:
Click the edit button of your desired languages.
In the Edit message panel, enter your desired message in the text box.
Click Save when you finish the configuration. The message will be shown to requesters when the defined condition is met after validation in the request form.
Default language – Select a default language for the message shown to the requester. If a user’s Cloud Governance display language is not one of the enabled options, the message will be shown in the default language. Note that only the languages that are enabled as available languages can be selected as the default language.
Automatically redirect to another address – Enter a URL in the https://www.example.com format. Requesters will be redirected to your specified URL when the defined condition is met after validation in the request form.
You can also choose to Show a custom confirmation message in the request form before redirecting to another address. To customize the message shown in the request form in your desired languages, complete the following steps:
Click the edit button of your desired languages.
In the Edit message panel, enter your desired message in the text box.
Click Save when you finish the configuration. The message will be shown when the defined condition is met after validation in the request form.
Default language – Select a default language for the message shown to the renewal task assignee. If a user’s Cloud Governance display language is not one of the enabled options, the message will be shown in the default language. Note that only the languages that are enabled as available languages can be selected as the default language.
Configure the following settings for the custom condition to be executed via your published web API. The custom conditions are available to be added in Control (condition or switch) branches, which will be executed via published web API.
Web API – Enter the URL of your published web API in the text box.
HTTP method – Select an HTTP method from the drop-down list.
Authentication type – Select Anonymous Access or Microsoft Entra Authentication as the authentication type, which will be used to access the web API.
If you select Microsoft Entra Authentication as the authentication type, you must enter the Client ID of the Microsoft Entra application in the text box and select a tenant from the drop-down list.
Parameters – Click Create and add parameters in the Add parameter panel by configuring the following settings:
Parameter – Enter the name of a parameter in the text box.
Value – Choose one of the following options to define the parameter values:
Manually enter the value – Enter the value for a parameter in the text box.
Retrieve from metadata value – Select metadata that has already been added to the flow in the previous steps. The metadata value will become the parameter value.
Click Save when you finish adding the parameters to the table.
Configure a custom message that will be displayed to the business users on request forms.
To customize the message in your desired languages, complete the following steps:
Click the edit utton of your desired languages.
In the Edit message panel, enter your desired message in the text box.
Click Save when you finish the configuration. The message will be shown to requesters in the request form.
Default language – Select a default language for the message shown to the requester. If a user’s Cloud Governance display language is not one of the enabled options, the message will be shown in the default language. Note that only the languages that are enabled as available languages can be selected as the default language.