Complete approval process

Complete approval process

The advanced workflow component (in the other category), Complete approval process is a component, that has been added for installations, that have chosen to use versioning and combine that with approvals.

 

The workflow component outputs the result of the approval into the XML payload and this is a suggestion for implementation:

 

NG2CompleteApprovalProcess001

 

The parameter, approval outcome is the node into which the result of the approval is to be stored. This will affect the specified node of the payload. You can use this node e.g. to condition other subsequent workflow components e.g. to report the approval/rejection.

 

This workflow component should be executed after the component, Await approval in a workflow of the input typeStart approval process.

 

The payload looks like this:

 

 

<?xml version='1.0' encoding='UTF-8'?>

<changeRequest>

 <id>ID-1693228252119-0-1</id>

 <approvalFlowName>Standard</approvalFlowName>

 <username>TestUser</username>

 <resourceType>template</resourceType>

 <path>/test_template.ift</path>

 <additionalResources>

         <resource index='1'>

                 <resourceType>component</resourceType>

                 <path>/test_component.icmp</path>

         </resource>

 </additionalResources>

 <majorVersion>false</majorVersion>

 <description>This is a description of what was changed</description>

 <decision>Approve</decision>

 <approver>ApproverUser</approver>

 <approverComments>Looking very good</approverComments>

</changeRequest>

 

 

So you can e.g. report the approval/rejection back to the user, that changed the resource, as the user is found in the node: /changeRequest/username.

 

An example for an approval workflow can be found here.

    Please note that our new Helpcenter is currently in the finalization stage. During this transition period, our existing JIRA system will remain in use for managing support tickets. Please refer to Support for InterForm Output Management Software

    We appreciate your understanding as we work to enhance your support experience. If you encounter any issues or have questions, feel free to reach out through the existing channels.

    Best regards
    Your InterForm Support

      • Related Articles

      • Start approval process

        If you have setup InterFormNG2 to use versioning and combined that with approvals for one or multiple resource types, then you need to setup a workflow, which is able to process the approvals. Such a workflow is setup with the input type: Start ...
      • Await approval

        The advanced workflow component (in the other category), Await approval is a component, that has been added for installations, that have chosen to use versioning and combine that with approvals. The Await approval component has no parameters: This ...
      • Post-process spooled file

        As a part of spooled file processing in InterFormNG2 on the IBM i platform, you might want to delete, hold or move the input spooled file to let the end user know, that the specific spooled file has been successfully processed. You can also change a ...
      • Versioning of resources

        One optional feature in InterFormNG2 is versioning of resources. The versioning features makes it possible to maintain a version history on resources in the library. Versioning of resources is a way to keep track of changes to resources and this can ...
      • Workflow input types

        The workflows of InterFormNG2 can get the input from various input types. In the workflow the input type is shown as the leftmost (green) component: The input types are all listed here: AS400 Command input Call InterFormNG2 via a command on the IBM i ...