Salesforce B2C Commerce 23.6 > B2C Commerce API > B2C Commerce Script > dw.job
dw.job
Class JobStepExecution
Object
dw.job.JobStepExecution
Represents an execution of a step that belongs to a job. The job execution this step execution belongs to can be accessed via getJobExecution(). If a pipeline is used to implement a step this step execution is available in the pipeline dictionary under the key 'JobStepExecution'. If a script module is used to implement a step this step execution is available as the second parameter of the module's function that is used to execute the step, e.g.:
 ...
 exports.execute( parameters, stepExecution)
 {
      ...
      var jobExecution = stepExecution.getJobExecution();
      ...
 }
 ...
 
Properties
ID  :  String  (Read Only)
The ID of this step execution.
jobExecution  :  JobExecution  (Read Only)
The job execution this step execution belongs to.
stepID  :  String  (Read Only)
The ID of the step this step execution belongs to.
stepTypeID  :  String  (Read Only)
The ID of the step type of the step this step execution belongs to.
Constructor Summary
This class does not have a constructor, so you cannot create it directly.
Method Summary
getID() : String
Returns the ID of this step execution.
getJobExecution() : JobExecution
Returns the job execution this step execution belongs to.
getParameterValue(name : String) : Object
Returns the value of the parameter of the step this step execution belongs to.
getStepID() : String
Returns the ID of the step this step execution belongs to.
getStepTypeID() : String
Returns the ID of the step type of the step this step execution belongs to.
Methods inherited from class Object
Method Detail
getID
getID() : String
Returns the ID of this step execution.
Returns:
the ID of this step execution.

getJobExecution
getJobExecution() : JobExecution
Returns the job execution this step execution belongs to.
Returns:
the job execution this step execution belongs to.

getParameterValue
getParameterValue(name : String) : Object
Returns the value of the parameter of the step this step execution belongs to.
Parameters:
name - The name of the parameter.
Returns:
the value of the parameter of the step this step execution belongs to.

getStepID
getStepID() : String
Returns the ID of the step this step execution belongs to.
Returns:
the ID of the step this step execution belongs to.

getStepTypeID
getStepTypeID() : String
Returns the ID of the step type of the step this step execution belongs to.
Returns:
the ID of the step type of the step this step execution belongs to.

X Privacy Update: We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used. By continuing to use this site you are giving us your consent to do this. Privacy Policy.