| | | Supreme Being
       
Group: Forum Members Last Login: Friday, September 05, 2008 Posts: 11, Visits: 89 |
| | Hi I want to put a process execition control in a aspx page like this: And i need help to hot to do this? I have to pass the workflow id property and user id property but how i put the control in my aspx page Regards Hugo Marinho |
| | | | Supreme Being
       
Group: Forum Members Last Login: Thursday, March 17, 2011 Posts: 66, Visits: 73 |
| | You need to use the WorkflowExecutionReport control which is part of the Assembly Workflow.NET.Web.Report.NET2 and namespace Workflow.NET.Web.Report. Use this control for adding the Process Execution view using an ASPX page. You will need to set the Application Name and Execution ID properties for this control Regards, RS |
| | | | Supreme Being
       
Group: Forum Members Last Login: Friday, September 05, 2008 Posts: 11, Visits: 89 |
| Hi Can you give me an example how i get the execution ID from aspx page?
Thanks Hugo Marinho |
| | | | Supreme Being
       
Group: Forum Members Last Login: Thursday, March 17, 2011 Posts: 66, Visits: 73 |
| | Hi, The Client.Execute method (while executing the workflow) returns the executions id. Regards, RS |
| | | | Supreme Being
       
Group: Forum Members Last Login: Friday, September 05, 2008 Posts: 11, Visits: 89 |
| Hi I think i don´t explained right the issue...
My application have a aspx page where i start the workflow, then i have some pages with skelta controls (WorkItemList, Calendar, Bam etc) to work with the workflow. My problem is in one page where i don´t have any skelta control to get the workflow process Id...i just have one value that exist in the workflow xmlvariables... In this case how can i get the workflow id? 1- Can i make a select to the skelta database?How? 2- Can i do a select to the adapter(Dim adapter As New Skelta.HWS.WorkListChannel.Web.WebWorkItemAdapter())?How?
I hope that I explained well the issue... Regards Hugo Marinho |
| | | | Supreme Being
       
Group: Forum Members Last Login: Thursday, March 17, 2011 Posts: 66, Visits: 73 |
| | Hi, In the aspx page where you are triggering the workflow, capture the ExecutionID and store it in a custom database table along with the application data. Use this Execution id in the page where you want to show the process execution view. Regards, RS |
| | | | Supreme Being
       
Group: Forum Members Last Login: Friday, September 05, 2008 Posts: 11, Visits: 89 |
| | Hi i´m doing as you said: WorkflowExecutionReport1.Application = "InfoDoc"WorkflowExecutionReport1.ExecutionId = id_SkeltaProcess but returns this error: Server Error in '/' Application.
Object reference not set to an instance of an object. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
Line 11: }Line 12: </script>Line 13: <iframe id="<%=_BaseControl.GetUniqueIdForControl("wer1")%>" src="<%=_BaseControl.GetPageUrl("ExecutionView.aspx")%>" width="100%" height="100%" style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px; border: solid 1px;" scrolling="no" ></iframe> |
Source File: c:\InfodocX\BPMUITemplates\Default\ProcessExecutionView\Control.ascx Line: 13
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.] Workflow.NET.SkeltaWebControlsBase.GetQueryString(String UrlQuery, String ParamName, String ParamValue, String RemoveParamName) +366 Workflow.NET.SkeltaWebControlsBase.GetPageUrl(String PageUrl) +138 ASP.bpmuitemplates_default_processexecutionview_control_ascx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in c:\InfodocX\BPMUITemplates\Default\ProcessExecutionView\Control.ascx:13 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +98 System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +20 System.Web.UI.Control.Render(HtmlTextWriter writer) +7 System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +25 System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +121 System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +22 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +199 System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +20 System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer) +7 System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) +29 System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +25 System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +121 System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +22 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +199 System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +20 System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +59 System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +68 System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +25 System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +121 System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +37 ASP.frm_skeltabpm_buscaprocesos_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in C:\InfodocX\frm_skeltabpm_buscaprocesos.aspx:2705 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +98 System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +20 System.Web.UI.Page.Render(HtmlTextWriter writer) +26 System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +25 System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +121 System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +22 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2558 |
How do i resolve thisThanks |
| |
|
|