Professional Documents
Culture Documents
Before going through this Assignment please read Workflow variable and
Assignment Task and understand how they are working.
First run:
Second Run:
Third Run:
Page 2 of 6
Expression is not having any logic (Just only given for flow)
Note: Do not check Target truncate option if your target is DB table. Choose
append if exists option if your target is Flat file
Page 3 of 6
Now, Edit workflow to create a workflow variable as shown below.
Click on variables tab then create a variable $$DEPT_ID with Default value is 1
As shown below.
Page 4 of 6
Now create assignment task by using tasks tab in workflow designer.
Click here
Page 5 of 6
Now, Edit assignment task (goto expressions tab) to assign user defined variables.
This is useful to increment $$DEPT_ID value after workflow run and same will be
storing in workflow pre-session assignment.
Page 6 of 6