Notifications

49 views

Issue

Description

How to pass parameter between different applets via Redirection destination fields.

Assuming that we have Applets "User" which shows all active users, "My Incidents" which shows active incidents assigned to a particular user and "All Incidents" which shows all active incidents.

Scenario 1:

Create a top menu "My Incidents" on the detail information screen of the Applet "User" which shows incidents assigned to the current user.

Scenario 2:

Create a top menu "All incidents" on the detail information screen of the Applet "User" which shows all active incidents.

Create a top menu "Create Child Incident" on the detail information screen of the Applet "All Incidents" which creates a child incident record.

  • The parent is the sys_id of the selected incident record.
  • The caller is the sys_id of the selected user record.

 

Procedure

The two scenarios can be implemented by the following steps.

Scenario 1:

1. Navigate to the Data Item "My Incident".

Create Item parameters "assigned_to" and set it to the Query Condition "Assigned to".

2. Navigate to the Master-detail-screen "My Incident".

Create an UI parameter "assigned_to_screen".

Create a Screen parameter mapping "assigned_to to assigned_to_screen".

3. Navigate to the Function "My Incidents".

Create a Redirection destination field to assign "sys_user.sys_id" to "assigned_to_screen".

Scenario 2:

1. Navigate to the function "Create Child Incident".

Create UI parameters "Short description", "Parent_incident_sys_id" and "caller_id_action".

2. Navigate to the Master-detail-screen "All Incidents".

Create an UI parameter "caller_id_screen".

3. Navigate to Function instance "Create Child Incident".

Create a Function instance carried param mapping "caller_id_screen to caller_id_action".

4. Navigate to the Function "All Incidents".

Create a Redirection destination field to assign "sys_user.sys_id" to "caller_id_screen".

5. Navigate to the Action Item "Create Child Incident".

Create Item Parameters "short_description", "parent_incident" and "caller_id_action_item" and set these paramters to field values.

6. Navigate to the function "Create Child Incident".

Create Action parameters mappings "caller_id_action to caller_id_action_item", "Parent_incident_sys_id to parent_incident" and "Short_description to short_descirption" .

Applicable Versions

Madrid release

Article Information

Last Updated:2019-08-02 20:37:10
Published:2019-07-17