Current customer user

Moderator: crythias

Post Reply
ernstf
Znuny newbie
Posts: 3
Joined: 18 Mar 2019, 15:30
Znuny Version: 6.0.16
Real Name: Ernst Fichtner
Company: d-con.net
Location: Austria

Current customer user

Post by ernstf »

Hi all,

I have to implement an automation process where one user of a customer sends a request and another user from this customer has to approve (i use ITSMDecisionResult Approved/Rejected).
For the first user everything works fine. (I don't use an article but create an article using a transition action)
When it comes to the approval step, I'm not able to get a handle to the current logged in customer user to use his/her name or email for article creation.

Any kind of suggestion welcome :-)
shawnbeasley
Znuny Employee
Posts: 132
Joined: 13 Sep 2021, 09:38
Znuny Version: Znuny 6.3.x
Real Name: Shawn Beasley
Company: Znuny

Re: Current customer user

Post by shawnbeasley »

Hi,

typically you can rewrite the customer during a transition action. But this requires that your logins are properly formed. If you have a limited amount of approvers, you can create a dropdown list where the key is the customer user login, and the value is a readable name.

There are good alternatives on the market for accessing databases or LDAP as a dynamic field, or even one explicitly for approvals provided by Znuny GmbH.

Cheers,
Shawn

======

"Each moment of a happy lover's hour is worth an age of dull and common life." -

Aphra Behn
Read more at https://www.brainyquote.com/quote_of_the_day
skullz
Znuny superhero
Posts: 618
Joined: 24 Feb 2012, 03:58
Znuny Version: LTS and Features
Real Name: Mo Azfar
Location: Kuala Lumpur, MY
Contact:

Re: Current customer user

Post by skullz »

try to put in 'To'

Code: Select all

<OTRS_CUSTOMER_EMAIL> 
OR 
<OTRS_CUSTOMER_DATA_UserEmail>
Post Reply