Place a Custom activity inside a For Each Document activity to process each document separately — the Custom activity then sees only one document at a time.
Set up a Custom activity
Add the activity
In the Process skill designer, add a Custom activity block to the document processing workflow.
Choose available files
On the Available Files tab, select the formats for text, document fields, and images to send to the external system. You must select at least one format for each type.
Verify the Custom activity
Publish the skill
Click the Publish tab, enter a name, description, and description of changes, and then click Publish Skill.
Check results in Skill Monitor
Review the skill’s results in Skill Monitor. If the script errored, the transaction is interrupted and the error appears in the Transaction Event Log. If you used
LogMessage to add custom log entries, they also appear in the Transaction Event Log.