Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

How to Create Ui action in csm workspace

instance
Tera Contributor

I am new to Servicenow. 

My requirement to create Case Record from incident table Using Ui action .( in Csm workspace)

i have Created a ui action named : Case.

On creating a New record and saving --> the Ui action button get enabled.

On clicking the Case button it is redirecting the Pop up window with new case record .

but in the case Record Parent Field i need to populate that particular incident number automatically how to do this.

 

i have done till the pop up window . i dont know how to do this -->case Record Parent Field i need to populate that particular incident number automatically

1611a.jpg

 

Ui action in workspace client script:

var url ='/sn_customerservice_case.do?sys_id=-1&sysparm_query=incident%3D'  +'&sysparm_view=workspace';;

g_modal.showFrame({
title: getMessage("Create case"),
url: url,
size: 'lg',
height: '380px',
autoCloseOn: 'URL_CHANGED',
})

 

help me with your script for that incident case relationship

10 REPLIES 10

1611b.jpg

 i have added in catalog client script but the sysid is not geting saved in the subject of that Record Producer