Sequence not running the job Activity
Posted: Fri Jan 21, 2011 10:54 am
Hi,
I have designed a Sequence job, with the following design:
JobActivity1-->RoutineActivity-->JobActivity2
JobActivity1: gets the MaxKey value from a table and load it into a Txt file.
RoutineActivity: use a routine "GetFileName" with Parameters as:pathName and FileName
Triggers:
ExpressionType Expression
ReturnValue(conditional) <> ""
Otherwise
JobActivity2: Uses the returnValue as a parameter
pMaxKey: Routine_Activity_37.$ReturnValue
The issue with the above logic is the sequence only runs the JobActivity1 and finishes the job.
Its not reading the other 2 activities. Is my approch towards the design correct? If not can you advice any other alternative.
Thanks in Advance!!
I have designed a Sequence job, with the following design:
JobActivity1-->RoutineActivity-->JobActivity2
JobActivity1: gets the MaxKey value from a table and load it into a Txt file.
RoutineActivity: use a routine "GetFileName" with Parameters as:pathName and FileName
Triggers:
ExpressionType Expression
ReturnValue(conditional) <> ""
Otherwise
JobActivity2: Uses the returnValue as a parameter
pMaxKey: Routine_Activity_37.$ReturnValue
The issue with the above logic is the sequence only runs the JobActivity1 and finishes the job.
Its not reading the other 2 activities. Is my approch towards the design correct? If not can you advice any other alternative.
Thanks in Advance!!