/
How to manually execute FlowAP documents script deployments

How to manually execute FlowAP documents script deployments

 

 Creating a Saved Search for FlowAP Documents

  1. Edit the following searches:

    • [STA] FlowAP Documents for Processing

    • [STA] FlowAP Documents for Conversion

  2. For [STA] FlowAP Documents for Processing, Add/Edit filters according to your use case, for example:

    • Status = Failed to retry FlowAP documents that have failed before

  3. Enter the updated search title.

  4. Click Save As.

  5. For [STA] FlowAP Documents for Conversion, you can still Add/Edit filters according to your use case, however, make sure that the filter Status = For Conversion is retained.

  6. Enter the updated search title.

  7. Click on Save As

The search results will be used to determine which records will be processed by the script.

 Executing the Scripts for Conversion

  1. Navigate to Customization > Scripting > Scripts

  2. Filter the list by the following information:

    • Type = Map/Reduce

    • From Bundle = 301105

  3. Click View beside the below scripts:

    • [STA] FlowAP MR Document Processing

      • This script generates the JSON file based on the XML of the FlowAP Document

    • [STA] FlowAP MR Document Conversion

      • This script converts the JSON file to the actual Transaction

  4. Under the Deployments tab of [STA] FlowAP MR Document Processing, open any deployment that is NOT set to Scheduled.

  5. Edit the Deployment and set the following:

    • Title = *update it for easier identification next time

    • Parameters > FlowAP Documents Search = *search created above

  6. Click on Save & Execute.

     

  7. Repeat steps 3-5 for [STA] FlowAP MR Document Conversion.

Related content