Salesforce

SAPB1 - Trigger Configuration (Magic xpi 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

SAPB1 – Trigger Configuration (Magic xpi 3.x)

The SAPB1 Trigger Configuration dialog box contains the following fields:

Name

Description

Service Definitions

Resources

This read-only field displays the name(s) of the SAPB1 resource(s) that you selected for the trigger in the Service Repository.

Polling Interval

This read-only field displays the polling interval that you defined for this service in the Service Repository.

Keep Alive Interval

The amount of time in minutes that the trigger can be unresponsive before it is automatically restarted. The default value is 0, which means that the trigger can be permanently unresponsive.

Note:

You should be very careful when selecting a value for this parameter. If the chosen value is too small, a trigger may terminate before it completes a valid operation.

Since version: V3.2 SP2

Object Details

Data Object

Click to open the Trace Object List. This contains the trace objects that you created in the Service Repository's SAPB1 Trace Objects Configuration dialog box. Select the required objects.

Operation

Select an operation from the drop-down list. The operations that appear on this list are those that you previously defined in the Service Repository.

Note:

The SAPB1 trigger is invoked for each User operation in the system, including login and logout.

End Action

Select the action that will be done on the record at the end of processing. The available actions are:

  • Update Status

  • Delete Record

XML Export Type

Select one of the following from the drop-down list to enter the XML Export Type used in the transaction:

  • AllNodes

  • ValidNodesOnly

  • NodesAsProperties

  • ExportImportMode

The default is 3.ExportImportMode, which only supports read/write fields.

Result Definitions

Store Trigger Query In

Click to open the Variables List. Select the location where you want to store the query that is generated by the trigger.

Store Trigger Information In

Select one of the following from the drop-down list to define the storage format for the information generated by the trigger:

  • String

  • XML

Click to open the Variables List. Select the location where you want to store the information that is generated by the trigger.

Note:

When you select String (above), the generated string contains the DataObject - Operation - Server Name - Database Name - Object Key Values - Resource Name variables. For example, ServiceCalls - Add - localhost - SBODemo_US - 7 - SAPB1_Resource. There are spaces preceding and following the hyphens. It is used for flow logic, when two or more operations are handled in the same flow.

To use the SAPB1 connector as a trigger:

  1. From the Project menu, select Resources to open the Resource Repository. Here, you should define an SAPB1 resource. This allows you to create the required connections to SAP databases. For more information on how to do this, click here. You cannot continue with the next step until you have done this.

  2. From the Project menu, select Services to open the Service Repository. Here, you should define an SAPB1 service. For more information on how to do this, click here. You cannot continue with the next step until you have done this.

  3. Drag the SAPB1 connector to Magic xpi's Trigger area. When you do this, the Component Properties dialog box opens.

  4. Click the Component Properties dialog box's Settings tab. In the Service Name field, select one of the services that you previously defined in the Service Repository.

  5. Click Configuration to open the SAPB1 Trigger Configuration dialog box. Enter the relevant information.

  6. When you have entered the relevant information in these parameters, click OK to save the information and to exit the SAPB1 Trigger Configuration dialog box, or click Cancel to exit without saving.

  7. Finally, click OK to save the information and to exit the Component Properties dialog box, or click Cancel to exit without saving.

  8. Your SAPB1 trigger should now appear in the flow pane's Trigger area.

Reference
Attachment 
Attachment