Question # 2
I've seen skip expression on sequence flow also. When I had both condition and skip expression, it just followed the condition and skipped the skip expression. Can someone please tell me whats the difference between condition and skip expression on a sequence flow ?
Question # 3
I was able to use the below code to get the task skipped partially but not how I wanted it to be. With the below scenario, I could see 2 user tasks getting created 1st one is CNV_human1 and CNV_human11. So I could understand that since the skip expression was on CNV_human1 and since it evaluated to true, the execution went ahead to CNV_human11. But my problem is I still see CNV_human1 in my inbox.
<code>
Map<String,Object> variables = new HashMap<String, Object>();
variables.put("_ACTIVITI_SKIP_EXPRESSION_ENABLED", true);
variables.put("fname", "Hari");
tas.startBPM("Hari", "test1_called", variables, "MyTenant");
</code>
Question#4
Now as you read in Question#3, I have 2 user tasks in my inbox but when I try to complete any of them, I see this error "UserTask should not be signalled before complete". What is it that I have done incorrectly here ?