Skip to content

Step documentation for SqlAgent

Execute SQL Agent job

Executes a SQL Agent job

Sentences

Type Language Sentence
Given en The SQL agent job ([a-zA-Z0-9_@$#]+) has just been executed
When en The SQL agent job ([a-zA-Z0-9_@$#]+) is being executed
Given nl Dat de SQL agent job ([a-zA-Z0-9_@$#]+) zojuist is uitgevoerd
When nl De SQL agent job ([a-zA-Z0-9_@$#]+) op dit moment wordt uitgevoerd

Arguments

Parameter Datatype Description
jobName String The name of the job

Examples

Given the SQL agent job ExampleSqlJob has just been executed
When the SQL agent job ExampleSqlJob is being executed
Gegeven dat de SQL agent job ExampleSqlJob zojuist is uitgevoerd
Als de SQL agent job ExampleSqlJob op dit moment wordt uitgevoerd

Execute SQL Agent job as role

Executes a SQL Agent job as a specific role

Sentences

Type Language Sentence
When en (?:the|a|an) ([a-zA-Z]+) executes the ([a-zA-Z0-9_@$#]+) SQL agent job
When nl (?:de|het|een) ([a-zA-Z]+) de ([a-zA-Z0-9_@$#]+) SQL agent job uitvoert

Arguments

Parameter Datatype Description
roleName String The name of the role
jobName String The name of the job

Examples

When the developer executes the ExampleSqlJob SQL agent job
Als de developer de ExampleSqlJob SQL agent job uitvoert