Thanks a lot. Just for making sure I understand: you mean: 1. :definition_in_launchitem_allowed => false, only can load process definition from lauchitem.definition_url. 2. :definition_in_launchitem_allowed => true, can load any process definitions that defined inside the runtime or load from urls.
On May 19, 11:45 am, John Mettraux <[email protected]> wrote: > On Tue, May 19, 2009 at 12:37 PM, Li Xiao <[email protected]> wrote: > > > I don't get what's mean ":definition_in_launchitem_allowed = false" > > for I don't get how to launch a process after set it to false. > > > It's not big deal for me to set definition_in_launchitem_allowed as > > true, just wondering what's for it. > > The examples I read including ruote-web2 and ruote-rest, they all set > > definition_in_launchitem_allowed as true. > > Hi, > > (posting back to openwferu-users, not using openwferu-dev anymore, and > this is a user question anyway). > > There are two ways to pass the information about which process to > launch to ruote : direct and indirect. > > "direct" is by feeding the process definition inside of the launchitem. > > "indirect" is by giving the URL or path to the process definition in > the launchitem. > > The first approach is a bit dangerous; in the second approach, the > engine could refuse URL or path outside of certain domains and so. The > first approach allows to launch *any* process definition. > > That's why, by default, :definition_in_launchitem_allowed is set to > false, to prevent people from launching any process definition, on the > fly. :definition_in_launchitem_allowed = false prevents using the > "direct" approach. > > It all depends on your requirements. > > Best regards, > > -- > John Mettraux - http://jmettraux.wordpress.com --~--~---------~--~----~------------~-------~--~----~ you received this message because you are subscribed to the "ruote users" group. to post : send email to [email protected] to unsubscribe : send email to [email protected] more options : http://groups.google.com/group/openwferu-users?hl=en -~----------~----~----~----~------~----~------~--~---
