![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |
Most configurations for a SOAP Request Reply activity are carried out in the Activity Input panel under the Input tab.Subscription Service uses ADAPTER_OPCODE to learn what kind of operation is to be performed on a Lotus Notes database.You can specify following values in the ADAPTER_OPCODE field: 1 stands for insert, 2 for update, 3 for delete, and 4 for upsert.For a document that has fields of type Any, if these fields are to be handled by the adapter in the TIBCO ActiveMatrix BusinessWorks process, you need to change their types in the Input Activity to be specific.For example, for a document that has attachment to be processed by the adapter, the corresponding field must be changed according to the type of the attachment in the Input activity.
1.
2.
3. In the Edit Statement dialog, click the Type tab, select the Type Substitute checkbox, and then change the field type according to the type of the attachment.
4. Click OK.
• ^view^: select all documents in this view. When the adapter performs update or delete operation, this option has the highest priority.
• ^viewKey^: select documents in a view with key fields. This option is used together with ^view^. Multiple key fields are separated by comma.
• ^formula^: select documents with a formula. When performing update or delete operation, this attribute has lower priority than the ^view^ attribute.
• ^form^: select documents with this from name. This is the default option.If the ADAPTER_OPCODE is set to perform update or delete operation, this field represents the form name of a document to be updated or deleted. This attribute has lower priority than ^formula^.
• ^formKey^: select documents of a form with key fields. This option is used together with ^from^. Multiple key fields are separated by comma. Only documents that match the values of this field will be updated or deleted. The formkey in the incoming message has higher priority over the local propertiesYou can also refer to the following conditions when perform the update or delete operation:
• Runtime View style: the attributes ^view^ and ^viewKey^ will be used if neither of them are blank.
• Runtime Formula style: the attribute ^formula^ will be used if neither of them are blank.
• Runtime Form style: the attributes ^form^ and ^formKey^ will be used if neither of them are blank.Designing Form style is similar to the previous style, except that the form and key are not decided at run time but configured at design time.
If the Enable Key Field on Insert checkbox is selected, and the key field in the View Schema tab has been selected, you should not change the corresponding values of the key field.When working with the ^viewKey^ option, follow the rules below:
• The key fields specified with this option are columns of the view in Lotus Domino Designer. The field name must be the same as its corresponding column name.To verify whether a column is sortable, right-click the column name in Lotus Domino Designer, select Column Properties, and then click the Sorting tab in the Column dialog. The column is sortable when the Sort setting is Ascending or Descending.Figure 32 Column Properties
• The sequence of key fields appeared in the ^viewKey^ option must be the same as that of the corresponding columns in the view.
• When a sortable column is used as a key field, all the preceding sortable columns in the view must also be key fields, no matter whether the columns are continuous or not.Figure 33 Columns in Sample DatabaseAssume that there are only three sortable columns: customernumber, ordernumber, and dateordered. In such a case, valid key field options are as follows:
• customernumber,ordernumber
• customernumber,ordernumber,dateorderedFor TIBCO ActiveMatrix Adapter Service Engine for Lotus Notes, if you configure a Subscriber of type With Dynamic Login, you need to specify the sessionID in the Header section and the data to be subscribed in the Data section of the message.The Input tab of SOAP Request Reply activity displays a sshWithHeader message consisting of a Header section and a Data section.Under the sessionID field of the Header section, specify the sessionID corresponding to the login obtained from the Login Service.Figure 34 Mapping Session ID in the Header SectionUnder the data fields of the Data section, specify the values corresponding to the fields in the form for which the Subscription Service is configured.
For Subscriber with Dynamic Login, you need configure SOAP Request Reply activities for Login Service and Logout Service.
![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |