Skip to main content

Arguments

input : BackendScreenEventInput! required

Input fields for performing a backend action.

Returns

BackendScreenEvent

Returns an Action to perform, e.g. a screen to load.

BackendScreenEvents are specific types of Action which trigger a mutation in the Kraken backend. They return an action (any type), such as a ScreenActionType (which is then used to load the next screen). Any action registered in the registry should really be an "event" with some side-effect in the backend.

Allowed Viewers

Customer Partner User Third party

Query Complexity

1

Examples

The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.

Query

mutation BackendScreenEvent($input: BackendScreenEventInput!) { backendScreenEvent(input: $input) { action { ... on BackendScreenEventActionType { ...BackendScreenEventActionTypeFragment } ... on CloseActionType { ...CloseActionTypeFragment } ... on DeeplinkActionType { ...DeeplinkActionTypeFragment } ... on LinkActionType { ...LinkActionTypeFragment } ... on ScreenActionType { ...ScreenActionTypeFragment } ... on ShowInputFieldErrorsActionType { ...ShowInputFieldErrorsActionTypeFragment } } } }

Variables

Response

{ "data": { "backendScreenEvent": { "action": BackendScreenEventActionType } } }