Custom Load

You can apply this task at the component or element level. When you configure this task, you need to define a business rule. In the business rule, you define a condition. The business rule checks user’s action against the condition. If the condition is satisfied, the application performs the expected function after it loads a specific page.

For example:- You can apply the Custom Load task to display the component or element based on the business rule’s condition after the application loads the related page.

To configure the Custom Load task:

  1. In the Events dialog box, scroll down.
  2. Under Add Tasks, click the Select Task list, and then select CUSTOM_LOAD task.
  3. Click Add Task Config, and the Add Task dialog box opens.
  4. In the Add Task dialog box, click the Configuration area to expand it.
  5. In the Configuration area, click Add BRE, and the Add BRE/Edit BR dialog box opens.
  6. In the Add BRE/Edit BR dialog box, perform the following functions:
FieldDescription
BR NameIn this field, enter the business rule’s name.
DescriptionIn this field, you can enter a brief description of the task, although this field is optional.
BR StatementIn this field, enter the business rule condition.

#Sample Business Rule Condition
getVal(“tempObject.userid”) == “123”

When the business rule related to the above condition is executed, it checks the user ID. If the user ID is “123”, the application displays the related user interface or component to the user who logged in to the system by using the “123” user ID.
Success Message
(Optional Step)
Click this list and then select the message that the application will display after the business rule’s condition is satisfied.

Before you select the message in the Success Message list, you need to define the message in the Message Master module. You can access the Message Master module on the Vahana portal’s dashboard.
Failure Message
(Optional Step)
Click this list and then select the message that the application will display after the business rule’s condition is not satisfied.

Before you select the message in the Failure Message list, you need to define the message in the Message Master module. You can access the Message Master module on the Vahana portal’s dashboard.
  1. After you define the business rule, click Submit to configure the business rule.
  2. On the Add Task dialog box, click Submit to configure the CUSTOM_LOAD task.
Was this article helpful?
YesNo