Process: Passing expressions in transition actions?

Moderator: crythias

Locked
erbellico
Znuny newbie
Posts: 5
Joined: 01 Aug 2013, 15:50
Znuny Version: 3.2.9
Real Name: Eric Bello
Company: Eurofins

Process: Passing expressions in transition actions?

Post by erbellico »

Hi community

I'm trying out the Process Management in OTRS 3.2.9, which is really cool !

I'm now trying to pass expressions/variables in a parameter value of a transition action, intead of literals.
Is it possible?

For example I'd like to add a (predefined) article "APPROVED" behind the scenes, on behalf of the currently connected agent (see screenshot below).
(this is useful for us to track who has approved, directly in the article stack instead of the full history).

1) I add a transition action:
Kernel::System::ProcessManagement::TransitionAction::TicketArticleCreate

2) In the parameter "From", I'd like to put the current agent.
I tried "$Env{"UserLogin"}".
Capture.PNG
3) And here is the result: the expression is not evaluated.
Untitled.png
Does anybody know if passing expressions (evaluated at runtime) is possible?

--Eric
You do not have the required permissions to view the files attached to this post.
pandora123
Znuny newbie
Posts: 6
Joined: 30 May 2013, 09:36
Znuny Version: 3.2.9

Re: Process: Passing expressions in transition actions?

Post by pandora123 »

Hi,
same question ... did you get an answer?
Thank you
erbellico
Znuny newbie
Posts: 5
Joined: 01 Aug 2013, 15:50
Znuny Version: 3.2.9
Real Name: Eric Bello
Company: Eurofins

Re: Process: Passing expressions in transition actions?

Post by erbellico »

No answer yet.
Locked