Quantcast
Channel: PTC Community: Message List - Windchill
Viewing all articles
Browse latest Browse all 8876

Re: Add a Custom Attribute to a specific task in Workflow

$
0
0

is IFRQ_Number already defined as a workflow process variable?  If so drop the String declaration in your code snippet.

 

If you want to set the value back to the Change Task you need to have an attribute for it.  You would use the sequence of:

 

obj.load("IFRQ_Number"); // assumes that this is what the attribute is called in your Change Object

obj.set("IFRQ_Number", myProcessVariable); //assumes that myProcessVariable is defined in your workflow and is the same data type as IFRQ_Number

obj.apply();

// then you need to update the Change Object

wt.fc.PersistenceHelper.manager.modify(thisNotice);


Viewing all articles
Browse latest Browse all 8876

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>