Set secure workflow variables component

Set secure workflow variables component

The advanced, utilities workflow component, Set secure workflow variables can be used as a way to protect passwords used in the InterFormNG2 workflows e.g. for API calls.

Related built-in functions are: ng:encrypt() and ng:decrypt().

 

The component has these parameters:


  1. Name
    This is the name  of the variable.
  2. Value
    This is inserted as an unencrypted value of the variable. This value is encrypted and then saved, so that after saving the workflow this value can not longer be seen.

You can add multiple key/value pairs, if you clock the Add more icon.

After a save you will see something like this:


The passwords are encrypted for the current machine, so if you export a workflow where this is used and import it on another machine, then the encrypted password does not work and you will need to reenter it on the new machine. The only exception is, if the global setting for password encryption in export is set not to encrypt passwords in exports.

    • Related Articles

    • Advanced Utilities workflow components

      The Advanced Utilities workflow components are as follows: Append to zip archive. Appends the payload to a zip file. The zip file will be created, if the referenced zip file does not exist. Attachment to payload. Takes a named attachment, removes it ...
    • Set multiple workflow variables

      The advanced set meta data workflow component, Set multiple workflow variables, sets/defines multiple workflow variables. This can be used later in the workflow and also in a template. The variables can be referenced in XPath expressions with a ...
    • Variables

      In InterFormNG2 there are 4 kind of variables: User defined variables, that you define in the designer. Workflow variables. They can be defined in the workflow either by setting a single variable or multiple variables at a time. Predefined input ...
    • Multicast workflow component

      The multicast workflow component can be used, if you want to create multiple outputs from a single input file. You e.g. might want to create a PDF file, an email and a print output from a single input XML file. To do that the multicast component can ...
    • Predefined variables

      InterFormNG2 is delivered with a lot of predefined workflow variables, that you can refer to as any of the user defined variables. You can see them while you are editing an Xpath expression in the workflow: In the search field you can type in a part ...