Note: The workflow sample mentioned in this article can be downloaded from the Opalis project on CodePlex: http://opalis.codeplex.com
A collection of Workflows that demonstrate the use of Data Manipulation Functions and the Format Date/Time Activity.
Launch the Workflow named ‘0.Setup’ by using Start or by running it using the Testing Console.
The Workflow will create a sample input.txt file on your C drive. The sample input.txt file will be used by the other Workflows and has following content:
<DATETIME STAMP> will have the actual data and time from when the Workflow was started.
This Workflow uses the Read Line Activity to read line number 1 from ‘input.txt’. It then uses the Send Platform Event Activity to display the result of using several Data Manipulation Functions:
Launch the Workflow by using Start, or by running it using the Workflow Testing Console. Check the Opalis Designer Events tab or the Testing Console log to see the resulting output.
Search the Opalis Online Help for 'Data Manipulation Functions' to see all the available functions as well as examples.
This Workflow uses the Read Line Activity to read line number 1 from C:\input.txt. It then uses the Format Date/Time Activity to adjust the input Date/Time (the second element from the string that is obtained using a Field function) to one day before:
The adjusted Date/Time is displayed using the Send Platform Event Activity.
Refer to the Format Date/Time Activity Online Help.