Creating workflows
Use this procedure to create workflows.
- After signing in to Infor Birst and selecting Orchestration, click the Create Workflow icon.
- Specify the name of the workflow and click the Save icon.
-
Add a task to a step by performing these steps.
- Click the Add task to step icon.
-
Specify this information:
- Select a task type:
- Specify Set Variable.
- Space
- Specify a model space.
- Variable Name
- Specify YearFilter as the variable.
- This variable is used to identify the year when the data must be extracted. By default, the YearFilter value is the current year. If the current date is January, the value is the current year minus one.
- Variable Value
- Specify the query for the variable.
- This is default query for the variable:
-
SELECT TOP 1 IIF([Time.Month] = 'January', [Time.Year] - 1, [Time.Year]) FROM [ALL] WHERE [Time.Date] = NOW
-
If the data must be loaded from a specific year, replace NOW with any date of that year. The date format must be use MM/DD/YY.
For example,SELECT TOP 1 IIF ([Time.Month] = 'January', [Time.Year] - 1, [Time.Year]) FROM [ALL] WHERE [Time.Date] = '02/28/15'
Because the YearFilter value is 2015, data from 2015 is loaded.
If the date specified is in January, the YearFilter value is 2014.
Change the YearFilter variable value to the default query once after the data from specific year is loaded.
-
Add another step.
Note: For MS SQL users, perform these steps if you are using custom schema. For ORACLE users, perform these steps whether you are using default or custom schema.
- Click Add a new step.
- Click the Add task to step icon.
-
Specify this information:
- Select a task type:
- Specify Set Variable.
- Space
- Specify a model space.
- Variable Name
- Specify SchemaName as the variable.
- Variable Value
- For MS SQL users, Schema Name can be followed by
dot operator,
<Schema Name>.
to extract the data from the tables of respective schema. - For ORACLE users:
- For default schema, DB Username can be followed by
dot operator,
<DB User>.
- For custom schema, Schema Name can be followed by
dot operator,
<Schema Name>.
- For default schema, DB Username can be followed by
dot operator,
-
Skip this step if Customized Accounting Unit security is not required. See Row
Level Security for customized Accounting Unit in Configuring row level security.
- Click Add a new step.
- Click the Add task to step icon.
-
Specify this information:
- Select a task type:
- Specify Set Variable.
- Space
- Specify a model space.
- Variable Name
- Specify AccountingUnitStartPosition as the variable.
- Variable Value
- Specify the value.
-
Specify this information:
- Select a task type:
- Specify Set Variable.
- Space
- Specify a model space.
- Variable Name
- Specify AccountingUnitEndPosition as the variable.
- Variable Value
- Specify the value.
-
Add another step.
- Click Add a new step.
- Click the Add task to step icon.
-
Specify this information:
- Select a task type:
- Specify Extract.
- Space
- Specify a model space.
- Connection
- Select either the MS SQL connection or ORACLE connection.
-
Add another step.
- Click Add a new step.
- Click the Add task to step icon.
-
Specify this information:
- Select a task type:
- Specify Publish.
- Space
- Specify a model space.
- Publishing Group
- Select All or specify processing groups that must be processed.
- Click Save.