cancel
Showing results for 
Search instead for 
Did you mean: 

Tasks (BPC process chain)

Former Member
0 Kudos

hi,

syntax of TASK is, task(process type, paramter,%value%). can anyone eloborate usage of task command in dynamic script editor of Data manager package? Can anyone explain with example?

what are package varibles?

what are dynamic constants? (eg: %account_dim%,%datapath%...etc)

thanks,

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Raju,

Usually, a DM package is linked to a process chain. The process chain has lot of process types and these process types might require few parameters to work properly (eg - appset, app name, user id, etc). These parameters are passed to the process types from DM package using the task statement. Lets say, a statement like

TASK(Logic Task,USER,%USER%)

is calling the process type, Logic Task (name of the process) and passing a value of %USER% to the parameter USER. This parameter will be maintained in the process, Logic Task.

In the above task statement, %USER% is a dynamic constant. The dynamic constants are maintained by the system and are populated dynamically. When you login to a particular application with your ID, the %USER%, %APPSET%, %APP%, etc are automatically populated. So, these are maintained dynamically and thus, called dynamic constants.

In some instances, you may want to prompt the user for some values. Lets say,

PROMPT(SELECTINPUT,%AMOUNT_REV%,,"Please enter the Net Revenue to be Allocated",)

The above statement will prompt the user to enter the net revenue. This net revenue will be used later on by the script to do some calculation. But before that, the net revenue entered by the user has to be stored somewhere. So, this is stored in package variable. This package variable is then passed to the process chain using the task statement.

Hope this helps.

Former Member
0 Kudos

thanks for your explanation

Answers (0)