Setting event trigger with ilogic rule

Setting event trigger with ilogic rule

Anonymous
Not applicable
504 Views
1 Reply
Message 1 of 2

Setting event trigger with ilogic rule

Anonymous
Not applicable

Hi there,

 

I'm currently working on an external ilogic rule that sorts parameter. This works without problems, but if i want to use this rule on existing IPT, i have to set the event trigger (before save doc) with the "parameter sort"-rule every time.

 

So my thought was to include a code that enables the "before save doc"-trigger and connects it to my "parameter sort"-rule.

 

The structure of the code would be:

 

Sub

 

if (before save doc)-trigger is disabled it should get enabled and then it should get connected with the "parameter sort"-rule

 

end sub

 

Hope you guys understand what i'm looking for.

 

Cheers,

Kame

 

0 Likes
505 Views
1 Reply
Reply (1)
Message 2 of 2

mrattray
Advisor
Advisor
It is not possible to do this directly. The work around is to create a local rule that fires the external rule and add the local rule to your event triggers. It's not easy to do. There is a couple of threads here discussing this in detail, try doing some searching. I do have a rule that does do this, if you're still interested I'll dig it up and thrift it for you.
Mike (not Matt) Rattray

0 Likes