| | | Supreme Being
       
Group: Forum Members Last Login: Tuesday, May 17, 2011 Posts: 15, Visits: 100 |
| | Hello, I'm really new to Skelta and I'm having some issues with what seems like a very simple task. I've created a simple form which when added to the workflow gets an XML variable name of SFFormData. I've tested the form and get a XML string out. In the workflow step following my Invoke Form I want to write a class that checks the data entered on that form. My question is, how do I get access to the SFFormData XML? I would think this would be a simple as creating a new XML object and then assigning SFFormData to that XML object. Am I really wrong? Can someone show me some sample code on how to do this? I've attached a pdf showing my form, the xml output, the variable as shown in the Start object and where I would like to have my class read and process the form data. Thanks for all your help!
|
| | | | Supreme Being
       
Group: Forum Members Last Login: Monday, December 21, 2009 Posts: 102, Visits: 124 |
| | Hi, The information you are looking is available in the "Skelta BPMNET 2009 Developer Guide.chm" and please refer the same. Open this guide, search for rawxml and click on "XML Variable API" topic and refer the "Getting the value of a node of an Xml Variable" section. That should give you hint on how to get the xmlvariable (SFFormData) value. You can follow the similar approach to read the SFFormData. Thanks, Sri
Srinivasa Rao Pentapati |
| | | | Supreme Being
       
Group: Forum Members Last Login: Thursday, January 12, 2012 Posts: 93, Visits: 121 |
| Attached snapshot for your reference.
|
| | | | Supreme Being
       
Group: Forum Members Last Login: Tuesday, May 17, 2011 Posts: 15, Visits: 100 |
| | Thanks a lot! I will give this a try tomorrow. This is what I was looking for. I guess I just a kick to get started. |
| | | | Supreme Being
       
Group: Forum Members Last Login: Tuesday, May 17, 2011 Posts: 15, Visits: 100 |
| | Hi Rao What would be causing this error? I've tried to make my app as simple as possible and I'm just not getting what's going on. ! - Error while running the Action or Handling the event- MyLogger1 for Executio nDetailsID=38, - Error while loading action handler class -Logger.New, Assembly= C:\Program Files\XtenderSolutions\Content Management\ApplicationXtender Workflow Manager\SOA\Logger.dll, ApplicationName - AXDemo, WorkflowName - Test, Executio nId - 13, ExecutionDetailsId - 38, Module - C:\WINDOWS\assembly\GAC_MSIL\Workflo w.NET.NET2\3.5.0.0__c932f724c984e915\Workflow.NET.NET2.dllC:\WINDOWS\assembly\GA C_MSIL\Workflow.NET.NET2\3.5.0.0__c932f724c984e915\Workflow.NET.NET2.dll , Assem bly version = 3.5.9027.2, FileName - RunTime.cs, Source - at Workflow.NET.Eng ine.RunTime.PerformActionThread(Object Params), mke01-ricoh-02, Process - WFEngi ne.NET2, 10/1/2009 5:16:50 PM my class is attached as is the xml in the actions.xml file. sorry, i'm a vb programmer. i'm just trying to write data to the workflow log console. Again, i'm new to Skelta so sorry that this is very basic.
|
| | | | Supreme Being
       
Group: Forum Members Last Login: Thursday, June 02, 2011 Posts: 90, Visits: 150 |
| Looks like the Handler class cobfigured in the Action.xml is wrong. It should be in format namespace.classname. You have used logger.New, however the in the code your namespace is logger2. Make neccessary changes and try again.
Regards,
Moderator |
| | | | Supreme Being
       
Group: Forum Members Last Login: Tuesday, May 17, 2011 Posts: 15, Visits: 100 |
| | You are correct. That's exactly what it was. I figured that out late in the day yesterday. I guess it's just my stumbling box learning how to use the software. So far everyone's been quite helpful and I'm making good progress with my plug-in. Thanks for all your help! Take care, Mike |
| |
|
|