www.skelta.com
Home      Members   Calendar   Who's On

Welcome Guest ( Login | Register )
      

Home » BPM.NET 2007/Sharepoint Accelerator 2007 » BPM.NET 2007/Sharepoint Accelerator 2007 » Application Development » Dynamic questionaire via custom asp.net pages...


Dynamic questionaire via custom asp.net pages...Expand / Collapse
Author
Message
Posted Friday, February 08, 2008
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: Tuesday, February 26, 2008
Posts: 2, Visits: 14

Hi,

I am trying to create a dynamic questionnaire where the questions will be rendered via custom asp.net pages. The workflow will then route the next set of questions to be rendered.

I have read the post regarding the work activity to achieve a similar thing;

http://www.skelta.com/forum/Topic206-47-1.aspx?Highlight=dynamic+question

Can you give me some more details on how I can achieve this ie

1)      How do I access the questions to be rendered (say in the work activity or a checklist)

2)      How do I pass this back to the workflow to process

3)      How do I then get the next set of questions to be rendered without having to go through the Work Item list

The scenario could be an online credit card application. The customer goes online to fill their details where the asp.net pages will render the questions and Skelta manage the questions to be answered. Once submitted the application will be passed to the processing officer to work on. The workflow for the processing officer will be managed by the Work Item List.

Thanks in advance.

Post #512
Posted Friday, February 08, 2008
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: 2 days ago @ 10:47 AM
Posts: 144, Visits: 610

Hi,

 

Please go thru the post http://www.skelta.com/forum/FindPost164.aspx

 

This will give you more information on it.

 

 

Regards,

Bineesh E Raghavan

Post #514
Posted Friday, February 08, 2008
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Wednesday, June 04, 2008
Posts: 131, Visits: 423
Hi,
You can make use of the API's for achieving this Task

1) The generic API which can be used to get the possible Status or routing conditions for the activity is as given below. But this API will only provide you the Status which can be used for routing . To access specific properties belonging to an activity you'll need to Use CurrentAction object as provided in the post specified by bineesh.
Checklist:
WorkItem.CurrentActivity.Properties["Questions"];
Work:
WorkItem.CurrentActivity.Properties["AdvanceUI Fields"];

2) Using WorkItem.Submit
3) Using WorkItemCollection object to get task for an actor

using Workflow.NET;
using Skelta.HWS;
using Skelta.Core;

ApplicationObject application = new ApplicationObject("WebServiceRep");
WorkflowObject workflow = new WorkflowObject("WebServiceWF", application);

//To get Open tasks in Inbox
WorkItemCollection workItemCollection
            = new WorkItemCollection(application, workflow, new Actor(application, realActorId), false, "WebWorkList");
 workItemCollection.GetRecords();
//To get open tasks in queue
WorkItemCollection workItemCollection
            = new WorkItemCollection(application, workflow, queueId, new Actor(application, realActorId));
workItemCollection.GetRecords();

//Generic API to get Possible Status List/Routing conditions
WorkItem workItem = new WorkItem(workflow, workitemId);
System.Collections.Generic.Dictionary<string, string>  outputs = ((Skelta.HWS.IHWSActivityProvider)workItem.HWSActivity.CurrentActivity.ActionHandler)
.GetPossibleStatusList();
string[] statusList = new string[outputs.Count];
outputs.Keys.CopyTo(statusList, 0);
statusList;

//To submit/process a workitem
WorkItem workItem = new WorkItem(workflow, workitemId);
workItem.Submit("WebWorkList", statusSubmitted, "", "");
 

Regards,

Moderator

Post #515
Posted Friday, February 08, 2008
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: Tuesday, February 26, 2008
Posts: 2, Visits: 14
Great Thanks - I will try that.
Post #525
« 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 3:00pm

 
Execution: 0.125.9 queries.Compression Enabled.

Copyright © 2002 - 2007 Skelta Software. All rights reserved. Tel: 1 (703) 229-6732 | Email:sales@skelta.com
Skelta - A BPM Workflow Software Company