In the Displays panel, click Workflow Management > Workflow Editor.
Click the Workflow Editor tab.
Double-click the step containing the activity you want to work with.
In the Content field, from the drop-down arrow:
Select...
... and then
Literal
Enter the text that you want to write to the log file.
Bind
Bind the content to a variable.
Expression
Write an expression that will write the appropriate content to the log file.
In the File Path field, enter a name for the log file.
Note:
Workflow log files are automatically written to the folder %ProgramData%\Proficy\Workflow Files.
You can include additional folders to the file path that are relative to this path.
If you enter a non-existent file name, the application creates a new file.
From the Include Timestamp drop-down list, select True to include a time stamp with the content being written; select False if you do not want to include a time stamp.
In the Max File Size (MB) field, enter the maximum size of the log file, in MB. When the maximum file size is reached, a new file is created with the same name, but including a number; for example, <filename>.1.txt. Each successive file that is generated in this way will be incremented by one.