Workflow settings and parameters
Parameters can either be provided directly in the URL or as an XML file (in this case the URL has to contain the parameter settings with the name and path of that file).
If a parameter both is specified in the URL string and in the settings XML file, the value defined in the URL string replaces the particular value of the settings file. If a parameter is provided in the URL and is not found in the settings XML file, then its value is added to the list of parameters. If a parameter is solely defined in the settings XML file, its value will be added to the list of parameters.
The following parameters are understood by the "synchronize" workflow
Parameter |
Meaning |
---|---|
loggingEnabled |
Boolean indicator if the logging is on or off. This parameter is optional. |
query |
Path to the query template XML file |
outTransformation |
Path to the XSLT file for transforming CRM.interface XML into 3rd party system XML format. Note: if this parameter is not provided no message will be sent at all.
|
inTransformation |
Path to the XSLT file for transforming 3rd party system XML into CRM.interface format |
useSoap |
if true SOAP messaging will be used. Otherwise a (normal) Web Request will be sent to the 3rd party system. |
targetUrl |
URL of 3rd party system. A "normal" Web Request will be sent to this URL if useSoap set to false. |
soapUrl |
URL of the 3rd party web service. A SOAP message will be sent to this URL if useSoap set to true. |
soapAction |
method of the 3rd party web service, which should be executed. If useSoap set to true, but no soapAction is provided then a regular Web Request will be sent to targetUrl as a fallback solution. |
useSoapTransformation |
if true the SOAP message will be created by applying the XSLT stylesheet as defined in the parameter soapOutTranformation. Otherwise the SOAP message will be generated based on the XML template as defined in the parameter soapTemplate. |
soapTemplate |
Path to XML template file used to create the SOAP message. If useSoapTransformation set to true this parameter is ignored. |
soapOutTranformation |
Path to XSLT used to create the SOAP message. Only used if useSoapTransformation is set to true. |
The settings file of the "synchronize" workflow has the following structure
Figure: settings file of workflow
<?xml version="1.0"?>
<settings>
<loggingEnabled></loggingEnabled> <!-- indicator if the logging is on or off-->
<query></ query> <!-- path to the query template xml file -->
<outTransformation></ outTransformation> <!-- path to XSLT file responsible for transformation from update.CRM format into 3rd party system format -->
<inTransformation></ inTransformation> <!-- path to XSLT file responsible for transformation from 3rd party system into format update.CRM format -->
<targetUrl></ targetUrl> <!-- URL of 3rd party system-->
<useSoap></ useSoap> <!-- indicator if SOAP messaging will be used -->
<soapAction></ soapAction> <!-- method of the 3rd party web service to invoke -->
<soapTemplate></ soapTemplate> <!-- XML template file used to create SOAP message-->
<soapUrl></ soapUrl> <!-- URL of web service endpoint -->
<useSoapTransformation></ useSoapTransformation> <!-- indicator, if XSLT file (soapOutTranformation) or XML template (soapTemplate) should be used -->
<soapOutTranformation></ soapOutTranformation> <!-- path to the XSLT file for transforming from update.CRM format into SOAP message -->
</settings>