Browse by Tags

All Tags » ActivityInstanceDestination   (RSS)
  • Setting activity destination users dynamically based on user order or level

    Hi, I have a scenario where i am getting the destination users for an activity in an xml structure from the asp.net page along with the level of the users. now i need to send the task to the destination users according to their order. e.g say i get 4 users  User1 of Level 1, User2 of Level2, User3 of Level2, User4 of Level3. Now i need to ...
    Posted to General (Forum) by riteshnegi on October 15, 2008
  • Activity destination

    Hi, I have a scenario where i am getting the destination users for an activity in an xml structure from the asp.net page along with the level of the users. now i need to send the task to the destination users according to their order. e.g say i get 4 users  User1 of Level 1, User2 of Level2, User3 of Level2, User4 of Level3. Now i need to ...
    Posted to General (Forum) by riteshnegi on October 15, 2008
  • Serial Number and Escalation

    While I am able to compose the serial number by combining K2.ProcessInstance.ID and K2.ActivityInstanceDestination.ID in a Server Event, I cannot access the ActivityInstanceDestination object in the escalation action code within the same Server Event. K2.SerialNumber is also unavailable. Does anyone know of a way to fetch either the complete ...
    Posted to General (Forum) by kennethlo on September 25, 2008
  • Default Escalation with custom code

    Hi there, First message in this forum, although I have read a lot of the threads here. Short story: Using code in K2, how do I enumerate through all instances of an activity and how do I force an instance to ''Finish''? Long story:Ok, I have the following situation: Activity ''A'' which leads to ''B'' or ''C'', depending on the outcome. ''A'' ...
    Posted to General (Forum) by hyankov on February 24, 2008
  • Modify InfoPath form for an activity instance rather than the process instance

    As per the title of this post, is this possible? K2.ActivityDestinationInstance.XmlFields[''MYINFOPATHFORM''] seems to get me a copy of my form for the activity destination instance, but it's blank! is it possible for me to get to the instance of the form that the destination user will open. I want to be able to add some content to the form for ...
    Posted to General (Forum) by mgallen on February 23, 2008
  • Dynamic Destinations using API

    I have a workflow that reads a list of comma separated usernames, and kicks off an IPC event for each user with that user as the destination... well at least that's the idea. I had this working in K2 2003 but am having real problems in Blackpearl. I've seen the post from Cherish http://k2underground.com/forums/post/18429.aspx but that hasn't ...
    Posted to General (Forum) by Smully on January 18, 2008
  • Escalate to Manager - As Defined in AD

    I have created a very simple proof of concept client event that is meant to escalate to the activity to the destination user's manager after one minute.  To accomplish this, the destination of the activity is set to me (an AD user) and the escalation rule is set to be a redirect to ActivityInstanceDestination.User.Manager, which I ...
    Posted to General (Forum) by tbyrne on December 4, 2007
  • How to update ActivityInstanceDestination.DataFields programatically?

    Hi, I need to update some ActivityInstanceDestination.DataFields programatically. My code looks like this: Connection.Open(connectionString);WorklistItem worklistItem = Connection.OpenWorklistItem(serialNumber, ''ASP'', true, true);UpdateProcessDataFields(worklistItem.ProcessInstance); // Get data from UI and puts into process' ...
    Posted to General (Forum) by cato72 on September 26, 2007