Skip to main content
1-Visitor
February 2, 2010
Question

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

  • February 2, 2010
  • 2 replies
  • 831 views

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

1-Visitor
February 2, 2010
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


1-Visitor
February 2, 2010
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.