Questions asked by Stefan13https://answers.axonivy.com/questions/asked-by/688/stefan13/?type=rssQuestions asked by <a href="/users/688/stefan13" >Stefan13</a>enTue, 16 May 2017 08:35:13 -0400RuleEngine - Use more then one object within one decision table.https://answers.axonivy.com/questions/2628/ruleengine-use-more-then-one-object-within-one-decision-table<p>In your example from the ivy demos, you show how to apply an decision table.</p> <pre><code>/* * We need to create a rule session to execute the rules. * * 'out.member' is the input object that stores the information of a member. * This object will be modified during the rule execution. */ in.ruleBaseForDecisionTable.createSession().execute(out.member); </code></pre> <p>Is it also possible, to use more the one object, for example:</p> <pre><code>in.ruleBaseForDecisionTable.createSession().execute(out.member1,out.member2,out.member3); </code></pre> <p>Or is that not provided?</p> <p>regards, Stefan</p>Stefan13Tue, 16 May 2017 08:35:13 -0400https://answers.axonivy.com/questions/2628/ruleengine-use-more-then-one-object-within-one-decision-tableruleengineSending Signals, how to define a Signal only oncehttps://answers.axonivy.com/questions/2027/sending-signals-how-to-define-a-signal-only-once<p>Hi,</p> <p>When using signals, a signal is defined as a string, for example in a Signal Start Event. This string has to be coded at least twice, when you send a signal and when you receive a signal. This can produce a spelling mistake easily, for exmple, somebody sends xxx:awaiting_end_of_rejection_period:start, but the SignalStartEvent waits for xxx:await_end_of_rejection_period:start.</p> <p>I would like to define all my signal strings in an interface like this in Java:</p> <p>public interface SignalCodes { public static String INITIALIZE_REQUEST = "xxx:initialize_request:start"; public static String RECOGNIZE_BUSINESS_CASE = "xxx:recognize_business_case:start"; public static String IDENTIFY_REQUESTER = "xxx:identify_requester:start"; public static String CREATE_REQUEST_AND_REQUESTER = "xxx:create_request_and_requester:start"; public static String RATE_REQUEST = "xxx:rate_request:start"; public static String AWAIT_END_OF_REJECTION_PERIOD = "xxx:awaiting_end_of_rejection_period:start"; public static String REJECT_REQUEST = "xxx:reject_request:start"; public static String PEP_CHECK = "xxx:pep_check:start"; public static String MANUAL_HANDLING = "xxx:manual_handling:start"; public static String SEND_CONTRACT_DOCUMENTS = "xxx:send_contract_documents:start"; }</p> <p>I can use thise definition when i send the signal programmatically, but i can't use it in the SignalStartEvent. There only a hard coded string ca be used.</p> <p>Is there a solution for this problem? Define a signal string only once and then use ist on both sides, sender and receiver?</p> <p>I think, the CMS should be the right place to define the signal strings.</p>Stefan13Wed, 14 Sep 2016 16:23:04 -0400https://answers.axonivy.com/questions/2027/sending-signals-how-to-define-a-signal-only-oncesignalscms