openTransitionStatusScreen
The openTransitionStatusScreen
api to open the modal of transiting status for an item.
It can be used by these modules:
- Admin page
- App page
- Workspace page
- Item action
- Item panel
- Item activity
- View action
Arguments
itemId
: The objectId of the item to move, type as stringscreenId
: The objectId of the screen, type as stringtransition
: The title of the transition, type as stringcurrentState
: The objectId of the current state, type as string
Example
import createProximaSdk from '@giteeteam/proxima-sdk-js';
const proxima = createProximaSdk();
proxima.execute('openTransitionStatusScreen', { itemId: 'tAbgAjZxsO', screenId: 'AjZxsOAbgAO', transition: 'summit', currentState: 'xsOAAjZbgAO' });