Bookshelf Home | Contents | Index | PDF |
Business Processes and Rules: Siebel Enterprise Application Integration > Data Mapping Using Scripts > Siebel Message Objects and Methods > CSSEAIIntMsgInThis object represents an integration message that is open for reading. The object provides GetArgument and GetIntObj methods. GetArgument() MethodThis method gets the value of a business service argument. For example, this could get the name of a map function in the business service. Table 13 presents the parameters for this method. SyntaxGetArgument(name [, defaultIfNull [, defaultIfEmpty]])
ReturnsUsageUse this method to get the value of an argument passed to the business service. For example, if the MapName argument passed to the business service is MapExtOrderToOrder, the call: intMsgIn.GetArgument("MapName"); returns the name of the map, MapExtOrderToOrder If the named argument does not exist, The arguments defaultIfNull and defaultIfEmpty are optional; however, if you specify defaultIfEmpty, you must also specify the defaultIfNull argument. GetIntObj() MethodThis method returns an instance of the integration object and opens it for reading. Table 14 presents the parameter for this method. Syntax
ReturnsCSSEAIIntObjIn Integration Object UsageAn integration object instance is always returned even if the integration object does not exist. Call the returned object's Exist method to test for this before calling other methods on the object. An error is raised if an integration object is present but the name is not correct. NOTE: Currently an integration message can contain only one integration object. GetAttachmentCount() MethodThis method returns the number of attachments in the input integration message. SyntaxReturnsThe number of attachments in the input integration message. GetAttachment() MethodThis method returns the attachment specified by the index. Table 15 presents the parameter for this method. SyntaxReturnsThe attachment (a PropertySet) specified by the index. The index is zero based. Returns null if index is out of bounds. GetAttachmentByCID() MethodThis method retrieves an attachment based on the Content Identifier (CID). Table 16 presents the parameter for this method. SyntaxReturnsThe attachment (a PropertySet) specified by the CID. Returns null if there is no attachment with the specified CID. |
Business Processes and Rules: Siebel Enterprise Application Integration | Copyright © 2017, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |