Skip to main content
14-Alexandrite
November 8, 2024
Question

Issue with Updating WTPart in Change Management Process Using Expression

  • November 8, 2024
  • 1 reply
  • 1779 views

Hello,

 

I have an attribute called 'sapnumber' that I use in both wtpart and cadpart.

When a user creates a part and publishes it, they initiate an ECN and start the process of publication. I would like to update my sapnumber within the ECN process using an expression.

 

The expression will be: sapnumber = (part number + -AA). However, I am constantly receiving an error with this expression.

 

The expression I got the error from is attached.

 

Can you help me?

1 reply

Fadel
23-Emerald I
November 8, 2024

what error ypu get ?

Buiꓘa
14-Alexandrite
November 11, 2024

hello fadel,

 

I can't actually get to an error. expression skips without executing its function.

 

OnurNalbantgl_0-1731303528315.png

 

Fadel
23-Emerald I
November 12, 2024

hi , you may enable below loggers , to see what the WF is doing :

log4j.logger.wt.workflow.definer=DEBUG
log4j.logger.WF_EXEC_EXPR=DEBUG
log4j.logger.wt.workflow=DEBUG
log4j.logger.wt.workflow.engine=DEBUG
Buiꓘa