OptionalformId: string
The optional request form id. If specified, deletes orphaned assignments for the specified form.
OptionalworkflowId: string
The optional workflow id. If specified, deletes orphaned assignments for the specified workflow.
OptionalapplicationId: string
The optional application id. If specified, deletes orphaned assignments for the specified application.
OptionalrequestTypeId: string
The optional request type id. If specified, deletes orphaned assignments for the specified request type.
OptionalonlyWorkflow: boolean
Optional 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: RequestFormExportOptions
export 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: RequestFormExportOptions
export options
a promise that resolves to a request form export object
Export all request forms
Optionaloptions: RequestFormExportOptions
export 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: string
The request form id. If supplied, only the request form of that id is imported. Takes priority over formName if it is provided.
OptionalformName: string
The request form name. If supplied, only the request form(s) of that name is imported.
Optionaloptions: RequestFormImportOptions
import 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