Closed Complete action not visible in attachment tab on esc portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2025 04:14 AM - edited 05-08-2025 04:15 AM
Hi Everyone,
I need on catalog task "Closed Completed" action on attachment tab like below "Close" action:
for this i have implemented below things:
Creating the Close Completed Button:
Step 1: Create the Action Type
- Go to the table sn_ex_sp_action_type and select New record
- set the new the record with the following values:
- Name: Update [Any Table]
- Execute client script before server script?: False
- Server Script: var grTable = new GlideRecord(table); if (grTable.get(sys_id)) { grTable.setValue(field, value); grTable.update(); }
- Server parameters: field, value, sys_id, table
Done! We’ve created our first Action Type. Note that I didn’t use fixed values directly in the code, but instead, I used the names of the defined parameters.
Step 2: Create the Action
- Go to Employee Center > Action Framework > Actions > New.
- Create the record with the following values:Action Label: Close Complete Type: Closed Complete (The Action Type we just created) .
- After creating the record, a related list will appear, displaying all the parameters defined in the Action Type. You will be able to access each of these records and modify the values as needed
In our case, most of the fields will be of the String type, except for the sys_id field, which should be of the Reference type and retrieve the sys_id value from the catalog task.
Step 3: Create the Action Group
Go to Employee Center > Action Framework > Action Groups > New.
Create the record with the following values:
- Action Group Name: Incident Resolved Action Group
After creating the Action Group, let's create a record in the Action Group M2M related list to associate the button with our Action.
- Go to Action Group M2M > New.
- Create the record with the following values:
- Action: Close Complete (The Action we just created)
- Action Visibility: Visible to Self
- Order: 100Primary: True
but i'm not able to see close complete action in below screenshot:
can any one help me to suggest where will be need to change so i can see the "Close Complete" action in place of above screenshot bottom highlighted in orange color.