Skip to content

Step documentation for Database

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
job name 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
When nl (?:de

Arguments

Parameter Datatype Description
role name string The name of the role
job name 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