Process Mapping Logo

Process Mapping - Forums

Sharing 19 years of knowledge and experience

 
Metastorm BPM forums
Sign up Latest Topics
 
 
 


Reply
  Author   Comment  
Jerome

Avatar / Picture

Guru
Registered:
Posts: 5,507
Reply with quote  #1 
n v5 you could happily create a dynamic role such as:
%tSelectedRole
and assign the appropriate role to that variable in each Folder. e-work would generate the alert list based on the role. That would be really nice to have back!

For conditional roles it would be really nice not to have to use %Evaluate() - it is a serious Gotcha for every newbie.

If we had both of these, you could write:
%Evaluate((%cCheckBox1 = true)?(%SelectSQL("SELECT eUserName FROM eAssignment WHERE eRoleName='Role1' ",,,%Chr(44))):(%SelectSQL("SELECT eUserName FROM eAssignment WHERE eRoleName='Role2' ",,,%Chr(44)))) 
  
as
(%cCheckBox1 = true)?(Role1):(Role2)
   
which I think you will agree is much easier, and much simpler.

__________________
Post an example, and we will have a much better idea what the problem is. In about 90% of posts, the problem is one of communication. Examples bridge that gap.
0
Previous Topic | Next Topic
Print
Reply

Quick Navigation:


Create your own forum with Website Toolbox!