cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

Updating object attributes from workflow

Cosmo
1-Visitor

Updating object attributes from workflow



I'm looking to use expression robots to (a) extract an attribute value from my PBO to set a workflow variable and then (b) set the attribute value based on the user changing the value of that workflow variable.
Does anyone have any sample expression code to do this using the expression robot?
I have an attribute in the object called DUE_DATE and I want the manager to be able to set this in an assignment task he receives. After setting it and completing the assignment, I'd like the workflow to set the DUE_DATE attribute for the object.

Mike -

1 REPLY 1

Michael,

Sorry for the delayed response. I have attached expression robots for:

Getting and setting IBA’s for a pbo. Getting and setting name/number can all be found in the Windchill API under change2.

Booleans,

Date/time

Integer

Real number

Strings

You can use the get to pull the IBA and then set the variable with code after that. After the user has set the value you can use the set to set it back into an IBA as needed.

Let me know if you need anything else or if I can help you with anything else.

Matthew Hoover

Matthew.Hoover@alconlabs.com

Announcements


Top Tags