Skip to main content
14-Alexandrite
Nov 8, 2024 2:18 PM UTC
Question

Issue with Updating WTPart in Change Management Process Using Expression

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?

8 replies

Fadel
23-Emerald II
Nov 8, 2024 5:00 PM UTC

what error ypu get ?

Translate
Buiꓘa
14-Alexandrite
Nov 11, 2024 5:40 AM UTC

hello fadel,

 

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

 

OnurNalbantgl_0-1731303528315.png

 

Translate
Fadel
23-Emerald II
Nov 12, 2024 11:40 AM UTC

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
Translate
Buiꓘa