I am writing a custom component and I want to set a value on a process variable. However, I do not want the variable to be an "input" or "output".
In the Execute Script, it uses patExec...
What's the equivalent from within a component?
Thanks.
Views
Replies
Total Likes
patExecContext.setProcessDataValue( ) must also work within your custom component. Did you try that method?
Nith
Views
Replies
Total Likes
Why wouldn't you want to set itas part of an input/output parameter?
This is really the right way ofdoing this. Otherwise you'll end up with hardcoded variable name in your customcomponent and that not ideal.
If you're trying to define a default value for it coming from a properties file, you can just make it a "Configuration" variable and set the value from adminui.
Jasmin
Views
Replies
Total Likes
The configuration values get wiped out with each deploy. It doesn't work for us. Can we
enter a bug because I can't imagine this is "by design".
Views
Replies
Total Likes
Yes. Please fill out a bug.
Jasmin
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies