The shortcut workflow resource to payload can be used for exchanging the normal payload of the workflow with a resource found in the InterFormNG2 resource library.
This can e.g. be used for using an XML resource file instead of the XML file, that triggered the workflow.
Related workflow components are: Delete resource, Save in resources and Resource to attachment.
The parameters are:
Resource path
This is the path to the resource file from the resource root for the current tenant. The first folder in the path is the resource type of the Library. This path is e.g. valid: /documents/Demo/Demo_Invoice.xml. This path can be either a fixed value or an XPath expression - selected via the T icon on the right.
Here are some examples of how to refer to a resource:
Resource | Path | Example |
---|---|---|
Components | /templateComponent | /templateComponent/Common/Footer.icmp |
Documents | /documents | /documents/Demo/Demo_Invoice.xml |
Fonts | /font | /font/arial.ttf |
Images | /image | /image/Demo/Leif1.jpg |
Mail templates | /mailTemplate | /mailTemplate/defaultMailTemplate.vm |
Other | /other | /other/Certificates/MOCES_gyldig.p12 |
Styles | /style | /style/header.style |
Templates | /template | /template/Demo/InvoiceDemo.ift |
Transforms | /transform | /transform/production/copyNode.xsl |
Translations | /translation | /translation/Demo/translate.properties |
Validation rules | /validationRule | /validationRule/Training/Validate_demo_xml.xsd |
Workflow | /workflow | /workflow/KSE_test.wf |
Input type
The file type of the resource, that is loaded. A drop list is provided, from which you can select the correct type of resource.