Next, open the Parameters Override drop-down list in the properties of this object. This is a list of all variables that can be set up from profiles.
Info |
---|
Check that you are using IWS version 1.0.1.565 or higher. You have to re-save and re-publish main worksheet if your version is older. |
These variables will be available on the main worksheet of the process as common workflow variables with 'param_' prefixes. E.g., to transfer parameter ProcessName to the any task or sub process you can refer to it as:
Panel |
---|
:param_ProcessName: |
Please consider that we don't have any 'global variables' or 'global parameters' within workflows. Therefore, if you need these parameters inside a subprocess – you should pass them thru Custom CM Parameters property.
Publish the solution when everything is set.
Anchor | ||||
---|---|---|---|---|
|
(This is an optional step if you already know that your process works properly.)
Test your workflow to make sure it works fine. One of the ways to do that is clicking Run on the ribbon toolbar and applying Run only option:
When the run is complete a new tab with Monitoring Tool application will be displayed. Check that all steps of the workflow have been performed according to your design.
Anchor | ||||
---|---|---|---|---|
|
To create a new profile right click the process in the Monitoring Tool application tree and select Run With Overrides.
The window for custom parameters will pop up. You can open & edit or create a profile here. You should type the parameters of the workflow (that was declared in Step 1) and their values in the grid:
Click Save As Profile to save your new profile on the region. Remember the name you gave it – you will need it for the scheduler setup.
Scheduling
Next, you will want to create a schedule for this process and activate it.
The steps are shown below for if you use Classic Eagle or Eagle UI.
Anchor | ||||
---|---|---|---|---|
|
To create a scheduler you need the Maintain Events tool.
Click New and go thru the following steps.
1. Enter a name for your new event.
Set the engine as "Message Stream" and tune other options. Click Event Options when you are done.
2. Select the stream with the name of the main worksheet of your workflow with a "_restart" postfix from the list of available streams.
3. Then you need to bind the profile you created earlier and current schedule event. Use "Stream Parameters" to do it. Enter the parameters as a TagValue string with '~' separator:
Panel |
---|
TAGNAME~TAGVALUE~ |
Available tags:
1177 – correlation ID prefix. This is a string that will be appended to the correlation ID in each instance of this workflow. This is very helpful in future troubleshooting.
1166 – this tag is the name of profile that was created in step 3.
Full file name must be declared – including extension.
4. Save your new event.
Anchor | ||||
---|---|---|---|---|
|
Launch Automation Center application to create a schedule for eagle_wrf_full_extract stream.
1. Open Automation Center:
2. Click Create New and select Event.
3. Type an event name in the Name field, set "Message Stream Process" as its type and click Next.
4. In the next form please select an item matching you main worksheet name (where you put "Scheduled Begin") with "_restart" postfix. Specify a profile name for this schedule event.
Click Next.
5. Select a stream item with "_restart" postfix once again and insert your stream parameter in format as defined above and click Save & Schedule button.
6. Type a Schedule Name and click Next.
7. Click Save & Finish.
8. Select created schedule in the Schedule tab and click Enable.
9. Right-click on created schedule and select Submit with Overrides.
10. Check your settings (you can also define Stream Parameter and change profile file if necessary).
Click Submit.