Browse by Tags
All Tags » DataFields (RSS)
-
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 ...
-
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
-
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 ...
-
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 ...
-
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 ...
-
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 ...
-
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' ...
|
|