Home      Members   Calendar   Who's On

Welcome Guest ( Login | Register )
      

Home » Skelta BPM.NET 2006 » Skelta BPM.NET 2006 » Workflow Execution » Creating workflow item with custom ASPX page


Creating workflow item with custom ASPX pageExpand / Collapse
Author
Message
Posted Thursday, January 28, 2010
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Thursday, September 15, 2011
Posts: 20, Visits: 47
I'm trying to create a custom ASPX page with a button and when they click it to just create a piece of work. But I'm having problem with the User ID. I get the following error:

Not a valid entity id (2), provider name is empty.

What exactly is the "Application Name", is that my repository name?


On the below code.

string test = "2";
Workflow.NET.Engine.Client objClient = new Workflow.NET.Engine.Client("AXBPM", "Lease Progression Process");

objClient.Execute(2, test);
objClient.Close();
Post #1806
Posted Thursday, January 28, 2010
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Thursday, September 15, 2011
Posts: 20, Visits: 47
Better news

string test = "2";
Workflow.NET.Engine.Client objClient = new Workflow.NET.Engine.Client("AXBPM", "Lease Progression Process");
objClient.Execute("activedirectory::cd1dbffd-0ae0-46e2-80a6-643cbd507c1a", test);
objClient.Close();

This now gives me the following error:
Unable to fetch entity item from provider (activedirectory) for entityId (activedirectory::cd1dbffd-0ae0-46e2-80a6-643cbd507c1a) , IsPrimaryDataSource:True., Repository:AXBPM, severityLevel: Critical
Post #1807
Posted Thursday, January 28, 2010
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Monday, September 12, 2011
Posts: 18, Visits: 36
Hi,

If you are using active directory as provider then use the name of user for user id and not guid.

Ex: activedirectory::john

Please find attached the document which clearly defines the ways of providing user id for different type of providers.

If you have help files please refer the path: Skelta BPM.NET 2009 Developer Guide->Using Skelta BPM.NET Controls in the Application->Embedding Skelta Controls in the Application->Work Item List Control

Regards,
Prashant Patil


Regards,
Prashant Patil

  Post Attachments 
userid.JPG (153 views, 98.62 KB)
Post #1808
Posted Friday, January 29, 2010
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Thursday, September 15, 2011
Posts: 20, Visits: 47
Thank you, changing it to the username fixed my issue
Post #1809
« 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 4:56am

 
Execution: 0.094.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