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

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

Workflow - Is there an elegant solution for testing attributes values ?

iwebb
2-Explorer

Workflow - Is there an elegant solution for testing attributes values ?

I have a number of IBAs on a Change Proposal, they must be filled in during the workflow process, (NB. not at creation).

What is the most elegant way of enforcing this ?

I have been writing code in Workflow Transitions, but have 2 problems with this:-

1. I have several transitions all needing identical code (bad news for maintainance)

2. The limit of 2000 characters of code is very restricting.

Am I missing some trick here ?

Thanks

2 REPLIES 2

You can write a helper class and include all your transactions/methods and
call them in Workflow.



Sateesh Dendukuri | Datafrond LLC - sdendukuri@datafrond.com | Fax:
972-539-7536

:DF_logo.tif


wpalm_99
1-Visitor
(To:iwebb)

Ian,

Create an external java class file with your custom code (something like
LmcoWorkflowHelper.class). This will address both problems and is a best
practice as you will avoid major headaches when you upgrade since you can
update any code to work with the upgraded version and simply replace the
custom class file when you go live.

Best Regards,
Bill Palm
Director - RAPiDS Support Center
ProductSpace Solutions, Inc.
Announcements


Top Tags