×

Notice

The forum is in read only mode.
×
Getting new Releases

To get notified on new releases you may follow us on twitter @expandframework or subscribe in our main RSS feed.

Topic-icon Workflow doesnt work with WorldCreator

  • Merve Aydın
  • Merve Aydın's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
1 year 2 weeks ago #11565 by Merve Aydın
Workflow doesnt work with WorldCreator was created by Merve Aydın
Hi,
I created a new Persistent Assembly info using World Creator. I used the world creator class in the workflow I created. But the workflow service stops and throws an error like this in my computer:

The service can not be started. System.Xaml.XamlObjectWriterException: Unknown '{http://schemas.microsoft.com/netfx/2009/xaml/activities}Variable({clr-namespace:TestTest;assembly=TestTest}ModelWC)' type can not be created.
konum: System.Xaml.XamlObjectWriter.WriteStartObject(XamlType xamlType)
konum: System.Xaml.XamlWriter.WriteNode(XamlReader reader)
konum: System.Xaml.XamlServices.Transform(XamlReader xamlReader, XamlWriter xamlWriter, Boolean closeWriter)
konum: System.Activities.XamlIntegration.FuncFactory`1.Evaluate()
konum: System.Activities.DynamicActivity.OnInternalCacheMetadata(Boolean createEmptyBindings)
konum: System.Activities.Activity.InternalCacheMetadata(Boolean createEmptyBindings, IList`1& validationErrors)
konum: System.Activities.ActivityUtilities.ProcessActivity(ChildActivity childActivity, ChildActivity& nextActivity, Stack`1& activitiesRemaining, ActivityCallStack parentChain, IList`1& validationErrors, ProcessActivityTreeOptions options, ProcessActivityCallback callback)
konum: Syst...

I would appreciate your help.
Attachments:
More
1 year 2 weeks ago #11566 by Tolis
Replied by Tolis on topic Workflow doesnt work with WorldCreator
Hi

I do see that you have a problem however the screenshots do not help much. Better a sample with exact repro details. In the meantime I think you should have a look at the related EasyTest (tests WorkCreator- WorkFlow) integration found in the WorkflowTester solution.

github.com/expand/eXpand/tree/17.2/Demos...WorldCreatorWorkflow

To get notified on new releases follow us on twitter @expandframework or subscribe RSS feed. I am also available @tolisss . Also see How to debug eXpand
  • Merve Aydın
  • Merve Aydın's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
1 year 2 weeks ago #11569 by Merve Aydın
Replied by Merve Aydın on topic Workflow doesnt work with WorldCreator
I tried EasyTest (tests WorkCreator- WorkFlow) project. I added WorkflowTester project world creator module and workflow service. The workflow service automatically stops and throws an error when I create Persistent Assembly info the world creator in runtime and call it in the workflow. i have the same exception in my computer. i add the project github github.com/merve0935/XpandModuleSample and add the database scripts as attachment.
Attachments:
More
1 year 1 week ago #11571 by Tolis
Replied by Tolis on topic Workflow doesnt work with WorldCreator
I had some problems with your scripts so i tried the next steps in the WorkFlowDemo that ships with XAF.

1) Install WC win to the WorkfloeDemo.Module.Win
2) Add this conncetiong string to your app.config
<add name="WorldCreatorConnectionString" connectionString="Integrated Security=SSPI;Pooling=false;Data Source=(localdb)\mssqllocaldb;Initial Catalog=WorkflowDemo"/>
3) Replace ln115 from Program.cs with
serverApplication.Modules.Add(new WorkflowDemoWindowsFormsModule());
4) Create WC Class , restart app, use the class in a Workflow

Worked fine to me, let me know if its ok with u also.

To get notified on new releases follow us on twitter @expandframework or subscribe RSS feed. I am also available @tolisss . Also see How to debug eXpand
  • Merve Aydın
  • Merve Aydın's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
1 year 1 week ago #11579 by Merve Aydın
Replied by Merve Aydın on topic Workflow doesnt work with WorldCreator
Hi,
it is worked!
i am really grateful. Thank you Tolis.
Moderators: expand
Time to create page: 0.232 seconds