The WOB._subcount built-in variable resolution scope

Document ID : KB000047327
Last Modified Date : 14/02/2018
Show Technical Document Details

Introduction: 

The WOB._subcount variable was tried to be resolved and passed in the "Arguments to pass" system job (unix or Windows) field, however it was not resolved, i.e. it was passed as a literal %WOB._subcount 

Question: 

At what stage of the job execution the WOB._subcount variable has got resolved?

Environment:  

CAWA DE

Answer: 

 

The job submission count gets increased after the job was successfully submitted to agent but not before that, so practically, the WOB._subcount assigned value could be used only at the job final stage, i.e. in the job's alert notification javascript coding.