- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2018 06:53 PM
Hello
We are on Jakarta.
I have Workflow executing on Request Item. (sc_req_item) and is generating a REQ and RITM.
I found out that current.number will give me RITM number.
How can I find corresponding REQ number for the existing Workflow in progress?
Please advise.
Thanks,
Rajan Mehta
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2018 07:00 PM
you can use current.request
to get number you can do current.request.getDisplayValue()

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2018 07:00 PM
you can use current.request
to get number you can do current.request.getDisplayValue()
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2018 07:24 PM
Thank you Mike.
It works.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2020 02:35 AM
Hi Mike,
I have a wf on sc_req_item.
I'm creating a incident in this wf.
I want to update the work notes of INC with REQ and RITM number.
How can i achieve it?
Please suggest.
I tried "current.work_notes += ' - ' +current.request;" these codes but no luck.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2020 06:29 AM
How are you creating INC in workflow using task activity ?
If so than you can add something like below in advance script section of create task activity in workflow.
var notes = "Request Number: " + current.request.getDisplayValue();
notes += "\nRequested Item: " + current.number;
task.work_notes = notes;