- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
I have a custom condition configured for the visibility of email section in activity stream compose in CSM workspace which hide or unhide the email section based on certain conditions. I want to check these condition but unable to find where this is configured. Please refer the attached image and guide where I can find the custom condition
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
this link has solution
Service Operations Workspace – How to display the “Email” section in Compose pane for some states?
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @khareakshay ,
If you want to pass the value present in the form, pass the sys_id from the UI Builder Page and here in the data broker GlideRecord to that table and get the value of u_lcc_account value.
Copy paste the following in the properties field of the Data broker,
[
{
"name": "sysId",
"label": "Record SysID",
"description": "Sysid of the current record",
"fieldType": "string",
"mandatory": false
}
}Change your data broker script to like below;
function transform(input){
var sysId=input.sysId;
var tableGr=new GlideRecord('your_table_name');
tableGr.get(sysId);
var gr= new GEMEditableVisibilityv2();
return gr.isIDNManagementPersona(tableGr.u_lcc_account);
}If you add this data broker in the UI Builder page, it will ask you to provide sysId there map dynamically from the api.context.props.sysId
If my response helped, mark it as helpful and accept the solution.
Thanks,
Dinesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @khareakshay
refer:
KB2746296 How to enable Mini Email Composer in Compose (Activity Stream) section of a workspace
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti