App Module Workflow Tasks
App Module tasks are used to create and update App Modules via workflows.
Create App Module
task: "AppModule/Create@1"
name: createAppModule
inputs:
organizationId: "{{ organizationId }}"
appManifestId: "{{ appManifestId }}"
appModule:
name: "My Module"
# additional AppModule fields
dryRun: false
outputs:
- name: result
mapping: "result"
Inputs
organizationId(int, required): The organization ID.appManifestId(guid, required): The App Manifest ID to associate this module with.appModule(object, required): The App Module values to create (mapped toCreateAppModuleCommandValues).dryRun(bool, optional): Iftrue, validates without persisting. Default:false.
Outputs
result: The created App Module.
Update App Module
task: "AppModule/Update@1"
name: updateAppModule
inputs:
organizationId: "{{ organizationId }}"
appManifestId: "{{ appManifestId }}"
appModuleId: "{{ appModuleId }}"
appModule:
name: "Updated Module"
# additional AppModule fields
outputs:
- name: result
mapping: "result"
Inputs
organizationId(int, required): The organization ID.appManifestId(guid, required): The App Manifest ID to associate this module with.appModuleId(guid, optional): The ID of the App Module to update.appModule(object, required): The App Module values to update (mapped toUpdateAppModuleCommandValues).
Outputs
result: The updated App Module.