You can create a WindowsWorkflow by writing a code in an XML file, following the methods explained in Microsoft Windows Workflow Foundation, and including the Tera activities, listed in Activities.
The WindowsWorkflow XML is then passed to the WWF Engine that deserializes it at runtime, creates the WindowsWorkflow instance in memory and executes the activities.
To create a WindowsWorkflow from scratch
1.Write a WindowsWorkflow code in a XML file with an appropriate file name.
2.Load the XML file into the GN4 database as explained in Load a WindowsWorkflow in database.
3.Run the WindowsWorkflow in GN4 as explained in Execute WindowsWorkflows.
About WindowsWorkflow name
The WindowsWorkflow file names must follow the following rule:
•The WindowsWorkflow file name must start with wf_
•The WindowsWorkflow file name must not contain spaces and must be unique among all workflows.
•The WindowsWorkflow file name extension must be .xml.
See also