Skip to main content

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 string
  • screenId: The objectId of the screen, type as string
  • transition: The title of the transition, type as string
  • currentState: 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' });