-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#296 updating create environment apex code example values
- Loading branch information
Daniel Ventura
committed
Dec 19, 2022
1 parent
5c90bfd
commit f259f2e
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
6 changes: 3 additions & 3 deletions
6
copado-function/app/environments/createEnvironmentApexCodeExample.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }); |