Browse by Tags

All Tags » DataFields   (RSS)
  • populate datafield or SO in destination rule code

    Hello,  I'm coding my own worklist. For each worklist item I want to know the destinations of the activity (as determined by the destination rule). I can't find a property in the K2 API, so now I'm trying to populate a datafield with the destinations in the destination rule code. Can I use an activity datafield? If not, I have to use a ...
    Posted to General (Forum) by basklerx on July 8, 2008
  • Infopath & K2 process data fields

    Hello All, I would like to know if there is a way to get the data fields created for a process in infopath? e.g. I have created some data fields for a process, where I can store temporary data during the process. I want to retrieve them in Infopath. Is there any method that can access these fields? Thanks in advance
    Posted to General (Forum) by vigoret on June 23, 2008
  • Dynamic Destination Users from datasource

    I'd like to be able to use a different datasource i.e. SQL to hold the users. Then, depending on certain datafield values, I'll send the process instance to a or many users that are queried for based on the criteria.  I'm having a tough time getting to the destination user part of K2ROM, if it even exists.  Does anyone have any ...
    Posted to General (Forum) by Zeppelin on May 2, 2008
  • Re: Activity DataFields instead of Process

    Activity datafields only exist for the duration of the activity.  You cannot reference the activity-level data fields outside of the activity. For your second question: K2.ActivityInstanceDestination.DataFields[''myData''].Value is a data field associated with the current slot in the current activity ...
    Posted to General (Forum) by DavidL on April 24, 2008
  • Reading from DataFields

    Hello, I'm writing some code in a K2 custom server event through K2 for Visual Studio. In the code below, I've found that I can easily write to K2.ProcessInstance.DataFields, but that I can't seem to read from the DataFields. //Set date submittedK2.ProcessInstance.DataFields[''Date Submitted''].Value = DateTime.Now.ToShortDateString(); //Get ...
    Posted to General (Forum) by kimkhanh on February 11, 2008
  • Worklist Columns - Dynamic Data?

    What I would like to do is display an item's 'due date' in the SharePoint worklist web part, so the user can sort by when items are due with more granularity than just the priority of the items.  The due date of an activity is custom based on an xml data field (some processes are 30 days before this value, others 40 days, etc.).  I can ...
    Posted to General (Forum) by tbyrne on January 4, 2008
  • 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