parallel activity declining user
Hi
There are a couple approaches to allow for this that are discussed in the following post: http://k2underground.com/forums/thread/26597.aspx
Typically I'll store the comments in a SmartObject like DavidL since that's a no code approach and you'll still see the comments trail in InfoPath. However, if you're using InfoPath and want all the comments physically stored with the xml data of the InfoPath form then arduk's programatic technique would work.
Hope this helps. Tim
__________________________
Principal - Technologist
Caprivi Solutions Inc.
Toronto, Ontario
Hi Mahesh,
Add the code activity event after infopath client event, then add the code for retreiving the destination.user from K2 XML fields, assign them into infopath fields at runtime.
Best regards
Madhan
To get the Display Name of the user instead of the NT4 style account name (domainNameaccount) you could create a SmartObject using the K2 blackpearl ADService Object calling the GetUserDetails method. Add a SmartObject Event after the client event and populate the UserName input property with the Activity Destination InstanceUserName field.
You should be able to match that up with the activity’s Process Activity Data/Data Fields/Activities/”Activity Name”/Action Result activity data field for the user that selected the Decline action.
I hope that helps.
__________________________
Principal - Technologist
Caprivi Solutions Inc.Toronto, Ontario
tim,
i'm very new blackpearl. Not familiar with smart objects. Is there any other way??
Madhan we tried all that, still no use
I'm sure there are other ways but it probably involves some type of coding. Since K2 blackpearl relies so heavily on SmartObjects for everything from the processes to reports it would be well worth it to invest a bit of time getting familiar with SmartObjects. Otherwise you’ll end up writing and debugging code to accomplish things that can be done through configuration with SmartObjects.
I found a post which compliles some inks to get more information about SmartObjects if you’re interested:
http://k2underground.com/forums/post/28074.aspx
I would also recommend becoming familiar with the SmartObject Tester tool that is included with the latest builds of K2 blackpearl (807 and can be found in BlackMarket). It is located in the Program Filesk2 blackpearlService Broker. Testing and creating SmartObjects is a lot easier with this tool and I found it to be a great way of learning about SmartObjects since I can quickly create and test them with this tool. Note I used that tool to create the AD User SmartObject which took less than a minute J.
Reply
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.