Get Current user within workflow script

sandaru
Giga Contributor

Hi,

[Please note that this question is about a workflow script. NOT general client scripts]

I have a workflow that dose few validations before proceed. In that case Following validation need to be done

1. Get the creator of the ticket

2. If he/She in is the owner of relevant ticket. ticket should   foreword directly to the assignment group.

3. else in should go for validation

What my problem is, i can't get the current ticket creator in to the workflow.

I need your help on this

/Sandaru

1 ACCEPTED SOLUTION

Mihir Mohanta
Kilo Sage

Use current.request.opened_by to find out current request creator.



Thanks,


Mihir


View solution in original post

3 REPLIES 3

Mihir Mohanta
Kilo Sage

Use current.request.opened_by to find out current request creator.



Thanks,


Mihir


Kalaiarasan Pus
Giga Sage

What field holds the ticket creator value?


samiul1
Tera Expert

if (current.request.opened_by == 'your ticket owner field') {


      current.assignment_group = 'your specified group's sys_id';


else {


  furtherValidation();


}