Home      Members   Calendar   Who's On

Welcome Guest ( Login | Register )
      

Home » Skelta Workflow Net » Skelta Workflow Net » Application Development » Get User that clicks a button


Get User that clicks a buttonExpand / Collapse
Author
Message
Posted Wednesday, January 27, 2010
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Tuesday, August 24, 2010
Posts: 18, Visits: 41
How can I get the user who clicks the Approve/Reject button. I'm trying to use Context/User.value and Context/User.Name but both return 0
Post #1801
Posted Wednesday, January 27, 2010
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Group: Forum Members
Last Login: Yesterday @ 12:28 PM
Posts: 10, Visits: 22
Hi,

You can use the Variable '^'+HWSActivity.ActivityName+'RespondingUser' to capture the details of the responding actor.

Please find attached the screen shot forthe same.

You can also refer to help file Skelta BPM.NET  Developer Guide->Using Skelta BPM.NET Activities->Human Activities->Approval Activity (for Approval activity)

Regards,

Regards,
Prashant Patil

  Post Attachments 
User Details.JPG (58 views, 184.09 KB)

Post #1802
Posted Tuesday, February 02, 2010
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Tuesday, August 24, 2010
Posts: 18, Visits: 41
I was able to add that variable ^SafteyApprovalProcessRepondingUser. So when i configure my web service I see all the properties for that variable, i.e. .Email, .Name, .Id. I've selected .Name and .ID and I get the error "Variable not found in the variable collection". Could the problem be that the activity I'm trying to use is also the same name as my workflow process?
Post #1817
Posted Tuesday, February 02, 2010
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Today @ 3:53 AM
Posts: 67, Visits: 83
Not really, using the same name as that of your workflow process should not be an issue.  You might need to share more details like the exact scenario along with snapshots, Workflow xml and dependency files if any.

Btw, attached is a sample workflow (basic one) where the RespondingUser variable is used, updated and displayed in the logger.

Cheers,

  Post Attachments 
testRepo_RespondingUserWF_1.xml.txt (66 views, 15.25 KB)

Post #1818
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
-
Active Users: 1 (1 guest, 0 members, 0 anonymous members)
No members currently viewing this topic.

All times are GMT -5:00, Time now is 11:40am

 
Execution: 0.275.11 queries.Compression Enabled.

Copyright © 2002 - 2009 Skelta Software. All rights reserved. Tel: 1 (678) 306 4110 | Email:sales@skelta.com
Skelta - A BPM Workflow Software Company