Need help to create metric using the Updated by field.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-30-2014 12:33 AM
Hi everyone,
I am having problems activating a metric that i can use for my report.
I use the updated by field in the metrics in order for me to get all the people who updated or share inputs for a particular ticket.
Someone discuss this on the other thread and I followed what the instruction but still no luck.
Heres what I did.
1. I created a Business rule in the incident table.
Table: Incident
Run at: Server
Advanced: Check
When to run: After
Insert / Update
Script:
var gru = new GlideScriptRecordUtil.get(current)
var fieldsChanged = gru.getChangedFieldNames();
gs.eventQueue('metric.update', current, '[sys_updated_by]',1, 'metric_update');
Metrics > Definition
Table: Incident
Field: updated by
Type: Duration
Active
Script: blank
This all i did but didn't work. Hope someone can help me.
Many thank in advance

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-07-2016 05:33 AM
I was actually searching for this thread to answer your question