Flow Troubleshooting

 

Flow terminates without outputting a file after execution.

If the flow terminates without outputting a file after the flow is executed, the error processing may not have been implemented properly. Be sure to obtain the "isSuccess" and "errorMessage" of the return value of the OFC flow component, and branch processing according to the "isSuccess" value. If "isSuccess" is "false," implement processing in case of an error, such as displaying the "errorMessage" value on the screen.

 

File output processing does not start after the execution of a flow.

If the file output process does not start after the flow is executed, it is possible that the variable "recordId" or "ids" is not properly passed to the OFC flow component. Check that the values of the "recordId" and "ids" variables are set correctly before executing the OFC flow component.

How to check

    • Create a new temporary variable "tempRecordId" of text type.
    • Add a flow "Assignment" before the OFC flow component and assign the value of recordId to "tempRecordId", or in the case of "ids", assign it in the loop process.
    • Check the "Assignment" on the debug screen and confirm that the "recordId" is assigned to "tempRecordId".

If "recordId" is correctly assigned to "tempRecordId" but no output is generated, set "tempRecordId" to the record Id of the OFC flow component.

 

When outputting using a flow from the list view or the flow debug screen, the error message "Failed to read static resource OFC_Zip. Please clear your browser cache and try again." is displayed.

Clear your browser cache and try again. If clearing the browser cache does not resolve the issue, close and restart your browser. If Lightning Web Security is enabled when outputting using a flow from the list view or the flow debug screen, an error message may appear after upgrading.