I need help with declarative action payload definitions for service operations workspace

anuj27
Tera Expert

Hi, I am facing problem in writing a payload definition for a declarative action I created for service operations workspace..

I am creating a button called "Create incident" on an interaction record.

The create button is created as UFX client action and It should open a blank interaction form in a new tab for a new incident creation. (NO MODAL WINDOW)

What should be the payload definition that I need to add to make this work.

 

Need help

2 REPLIES 2

MichaelZischeck
Kilo Sage

he explains it nicely:

how to add the declarative action: https://www.youtube.com/watch?v=cBhfn3bFPxo

and how to call it: https://www.youtube.com/watch?v=E9FhNpk0Mwk

 

The only thing for my "use case" I miss: How can I influence in workspace which payload is sent

 

on that I am still working... my idea is: have a page "dialog" and then define various types of dialogs I need over and over again....

In this video I show you how to add a button to the action bar in a Configurable Workspace. You can them optionally make the button open a Next Component in a new tab or modal. https://jessems.com/adding-an-action-bar-button-to-a-configurable-workspace h/t to: Arnoud Kooi's Declarative Action From
In this video I show you how you can configure a button in a Configurable Workspace to open a modal with a Next Experience component or page which you've designed in UI Builder. #servicenow #uibuilder Blog post: https://jessems.com/opening-modal-from-a-record-in-configurable-workspaces Preceding ...

MichaelZischeck
Kilo Sage

actually it's pretty straight forward... I create a new declarative action, change the payload make sure I have a proper sys_ux_addon_event_mapping  and then it works