- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2023 06:03 AM
Hi experts,
I have read some other posts about dynamic module within the Application Menu, but none of them help me solve my problem.
1. I have a list of Skill Evaluation Submission. The Submission's fields are as below:
2. I have 3 groups which are: SE User, SE PM, SE CoE
I need to create a module shows a list of Submission record, where:
- Records with state = "Submitted" should be visible to users in SE PM group
- Records with state = "Reviewed" should be visible to users in SE CoE group
I really appreciate your help
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2023 09:03 AM
Hi @quangminh_doan ,
You can achieve it with script:
In script include create a function with code as below:
If current user belongs to SE PM group then var enqr= (state = "Submitted")
Else if current user belongs to SE CoE group then enqr = (state="Reviewed").
Then create a GlideRecord query on submission table.
Use the same encoded query.
Then push the sys_id in an array and return it.
This will allow you to have different set of sysId.
Please mark the answer as helpful and correct.
Best Regards,
Rajat Choudhary
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2023 05:11 AM
Hi @quangminh_doan ,
Your script include should return sys_id in array string.
You can call script include without Javascript: like:
new myScriptIncludeName().functionName()
Please mark the answer as helpful and correct.
Best Regards,
Rajat Choudhary
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2023 08:15 PM
Hi @Rajat_Choudhary ,
Thanks for your instruction. The script is working.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2023 07:26 PM
Hello @quangminh_doan ,
Very happy to know that your issue is resolved.
Keep up the good work.
Best Regards,
Rajat Choudhary
Please mark the answer as helpful and correct.
Best Regards,
Rajat Choudhary