Build a flow using the Utility Actions spoke actions
Create a flow in Workflow Studio using the Utility Actions spoke actions to create two files; one for incident records and other for user records, and zip these two files.
Before you begin
Role required: admin.
About this task
This sample flow demonstrates using the Utility Actions spoke actions to create files. You can configure the flow as per your requirement.
Procedure
Navigate to All > Flow Designer > Designer.
Create a flow.
For more information, see Building flows.
In the flow, add these spoke actions or flow logics:
Look Up Incident Records action to retrieve the incident records.
Begin File action to create a file that will contain the incident records.
For Each flow logic to apply the Append to Delimited File action to the list of incident records.
Image omitted: append-delmt-utility.png
Append to Delimited File spoke action
Append to Delimited File spoke action
4. Build File action to add rows.
Each incident record is added as a row in the file.
Image omitted: build-file-utility.png
Build File spoke action
Build File spoke action
5. Perform similar steps to retrieve records from the User \[sys\_user\] table.
Image omitted: user-records-utility.png
Retrieve user records
Retrieve user records
6. Begin Zip action to build the ZIP file for the incident and user records.
7. Add File To Zip action to add a file containing the incident records to the ZIP file.
Image omitted: add-file-zip-utility.png
Add File To Zip action
Add File To Zip action
8. Add File To Zip action to add file containing the user records to the ZIP file.
Image omitted: add-file2-utility.png
Add File To Zip action
Add File To Zip action
9. Build a Zip action to create the ZIP file containing the incident and user records.
Image omitted: build-file-utility.png
Build File action
Build File action
- Save, test, and publish the flow to use it.
Image omitted: flow-utility.png
Sample flow using the Utility Actions spoke actions
Sample flow using the Utility Actions spoke actions