MuleSoft · Arazzo Workflow
MuleSoft Upsert Environment
Version 1.0.0
Find an environment by name and update it if it exists, otherwise create it.
Provider
Workflows
upsert-environment
Upsert a single environment into an organization by name.
Lists the organization's environments, looks for an existing one whose name matches the supplied value, and either updates the matched environment or creates a new one.
1
findEnvironment
listEnvironments
List the organization's environments and capture the id of the first one whose name matches the supplied value, if any.
2
updateExisting
updateEnvironment
Update the matched environment with the supplied name and type.
3
createNew
createEnvironment
Create a new environment when no existing environment matched the name.