Tasks (BPC process chain)
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)
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
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.