Skip to main content
The ExportToFlexiCaptureExample sample task includes the following actions: The actions at the start of this sample task set the values of the variables. Next, the Export logic is run and the input parameters are passed using the variables. The LogicFailed variable will be assigned a value indicating whether any errors occurred when running the logic (true means that an error occurred and you should check the MetaBot error log; false means that the logic was executed successfully without any errors). The VerificationURL variable will contain a URL linking to the verification page. The DocumentDefinition variable will contain the name of the matching Document Definition. Should any file submitted by this task require verification, the corresponding URL will be copied to the Clipboard. If no verification is required, a message will be displayed saying that the processing results have been successfully saved and the name of the matching Document Definition will be copied to the Clipboard.
To process errors of the Export logic, the program will check the LogicFailed output parameter, whose value is saved to the LogicFailed variable.