OptionalformId: stringThe optional request form id. If specified, deletes orphaned assignments for the specified form.
OptionalworkflowId: stringThe optional workflow id. If specified, deletes orphaned assignments for the specified workflow.
OptionalapplicationId: stringThe optional application id. If specified, deletes orphaned assignments for the specified application.
OptionalrequestTypeId: stringThe optional request type id. If specified, deletes orphaned assignments for the specified request type.
OptionalonlyWorkflow: booleanOptional flag to return only workflow related assignments. Default: false
OptionalresultCallback: ResultCallback<RequestFormAssignment>Optional callback to process individual results
the deleted orphaned form assignments
Delete request form
the request form id
a promise that resolves to a request form object
Delete request form by its name. Since names are NOT necessarily unique, this method will throw if it finds multiple of the same name.
the request form name
a promise that resolves to a request form object
Delete request forms
OptionalresultCallback: ResultCallback<RequestFormSkeleton>Optional callback to process individual results
promise that resolves to an array of request form objects
Export request form
the request form id
Optionaloptions: RequestFormExportOptionsexport options
a promise that resolves to a request form export object
Export request form by its name. Since names are NOT necessarily unique, this method will throw if it finds multiple of the same name.
the request form name
Optionaloptions: RequestFormExportOptionsexport options
a promise that resolves to a request form export object
Export all request forms
Optionaloptions: RequestFormExportOptionsexport options
OptionalresultCallback: ResultCallback<RequestFormExportInterface>Optional callback to process individual results
a promise that resolves to a request form export object
Import request forms
request form import data
OptionalformId: stringThe request form id. If supplied, only the request form of that id is imported. Takes priority over formName if it is provided.
OptionalformName: stringThe request form name. If supplied, only the request form(s) of that name is imported.
Optionaloptions: RequestFormImportOptionsimport options
OptionalresultCallback: ResultCallback<RequestFormSkeleton>Optional callback to process individual results
the imported request forms
Read request form
The request form id
a promise that resolves to a request form object
Read request form by its name. Since names are NOT necessarily unique, this method will throw if it finds multiple of the same name.
the request form name
a promise that resolves to a request form object
Read all request forms
a promise that resolves to an array of request form objects
Update request form
the request form id
the request form object
a promise that resolves to a request form object
Delete orphaned request form assignments. If no ids are specified, it will remove all orphans