From variable to resource

From variable to resource

You can load data from a workflow variable into a Library resource within a workflow with the advanced, utilities component: From variable to a resource. The component has these parameters:

 

NG2WorkflowVariable2Resource01

  1. Variable name
    The name of the variable to copy the data from.
  2. Decode base64
    If the data in the variable is stored as an encoded base64 data stream, then you can enable this to convert the base64 data stream into a binary data stream.
  3. Resource type
    The Library type of the new resource.
  4. Resource path
    The path and resource name to copy to. The path is within the selected resource type.
    • Related Articles

    • Resource to workflow variable

      With the workflow component, Resource to workflow variable (which is a shortcut component of the other category), you can read a resource from the library and store it in a workflow variable. A related component is: From file to workflow variable. ...
    • Advanced XPath Features

      For more complex scenarios, XPath provides regular expressions, variable assignments, and special functions to manipulate and evaluate XML data dynamically. This section covers these advanced features. Working with regular expressions in XPath Using ...
    • From file to workflow variable

      With the advanced utilities workflow component, From file to workflow variable you can extract the contents of a file in the file system and put that into the contents of a variable. A related component is: Resource to workflow variable. This can ...
    • Delete resource

      This workflow component deletes a resource from the Library. Related workflow components are: List resources, Resource to payload, Resource to attachment and Save in resources. An example of how this can be used with the List resources can be found ...
    • Workflow variable element

      You can define two kinds of variables in your templates: A normal variable, which is defined and used only within the template. A workflow variable, which can be used for e.g. for sending user defined variable information from the workflow to a ...