Skip to content

Commit

Permalink
#296 updating create environment apex code example values
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Ventura committed Dec 19, 2022
1 parent 5c90bfd commit f259f2e
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
copado.CreateExecution.Request request = new copado.CreateExecution.Request();
request.parentId = 'functionId';
request.templateName = 'jobTemplateApiName';
request.callback = 'mcdo_CreateEnvironments';
request.parentId = '[functionId]';
request.templateName = '[jobTemplateApiName]';
request.callback = '[callBackClassName]';
request.preSteps = new List<copado__JobStep__c>();
request.postSteps = new List<copado__JobStep__c>();
request.runAfterInstantiation = true; copado.CreateExecution.execute(new List<copado.CreateExecution.Request>{ request });

0 comments on commit f259f2e

Please sign in to comment.