Ok, I'm going to use up my quota on this one so bear with me and thanks for your comments in advance. Here is the setup. I have a big process with lots of activities and line rules (Because of that I'm avoiding adding activities and other lines rules at all costs). One particular activity is almost not required in our current organizations so i want to pass through it in some cases. A great way to do this is with an escalation rule and setting a default value for the Action Result activity data field (If anyone wants more info, i think I have a cool conditional setup on the escalation rule so that I only expire the activity in specific instances. let me know and I'll post.). I have successfully configured my activity to expire and I have modified my outcomes to include the expired default value AND'd with the Approve value so it should work right? Well for some reason it's not. So, here are my questions,
- Is there a good reference for how the order of processing and indenting works with the outcome logic configuration wizard? I'm never sure if my ANDs and ORs are being processed in the way that I assume they should and can't seem to find a good clarification. That and how the action result selection should be configured based on the slot configuration for the activity.
- Actually a detailed reference on the processing of activity functions and the events / client events in the activity would be beneficial as well. I'm trying to expire an activity to impact the way the outcomes are evaluated but I do have multiple events in the activity so is it possible to expire the activity prior to creating the client event and thus not having any outcomes to process...
- What is the best method to troubleshoot? Currently I deploy my changes and launch a process to see what happens. I can tell by the process result that things didn't go as I hoped but I can't look back to see at what point the logic failed (specifically how the outcome didn't resolve and or correlate with the line rule). I think i need to use VS to connect to the K2 server process but I don't know where to set the break point to verify the outcome processing and the line rule processing.
- Once this is working I plan to migrate some inflight processes to use the new logic. I would assume that the updated outcomes would become the new default for any activity that was instantiated after the process was migrated but maybe this is not a good assumption.
Thanks,