Comments (8)
Hi @mrmueller, thanks for reporting this issue. Can you quickly check if you see the same behaviour if the workflow gets dehydrated when Add Delay activity is used? So a simple workflow with this activity followed by Add Delay of a couple of minutes and see if it raised the same error too.
from mimwal.
I can confirm that using the Add Delay activity produced the same result.
Request Identifier: c6199f20-e340-448b-bcd0-cd90e21cb036 Workflow Instance Identifier: e063bc9f-b2c5-4046-98fa-ac1ff60c173a Workflow Definition Identifier: 3dd7e379-726d-487a-9f99-6b9d9c0dbdae Workflow Exception: System.Runtime.Serialization.SerializationException: Type 'System.Data.SqlClient.SqlParameter' in Assembly 'System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' is not marked as serializable. at System.Runtime.Serialization.FormatterServices.InternalGetSerializableMembers(RuntimeType type) at System.Runtime.Serialization.FormatterServices.GetSerializableMembers(Type type, StreamingContext context) at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitMemberInfo() at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitSerialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, ObjectWriter objectWriter) at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Write(WriteObjectInfo objectInfo, NameInfo memberNameInfo, NameInfo typeNameInfo) at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.WriteArrayMember(WriteObjectInfo objectInfo, NameInfo arrayElemTypeNameInfo, Object data) at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.WriteArray(WriteObjectInfo objectInfo, NameInfo memberNameInfo, WriteObjectInfo memberObjectInfo) at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Write(WriteObjectInfo objectInfo, NameInfo memberNameInfo, NameInfo typeNameInfo) at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize(Object graph, Header[] inHeaders, __BinaryWriter serWriter, Boolean fCheck) at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph, Header[] headers, Boolean fCheck) at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph) at System.Workflow.ComponentModel.Activity.Save(Stream stream, IFormatter formatter) at System.Workflow.Runtime.Hosting.WorkflowPersistenceService.GetDefaultSerializedForm(Activity activity) at System.Workflow.Runtime.Hosting.SqlWorkflowPersistenceService.SaveWorkflowInstanceState(Activity rootActivity, Boolean unlock) at Microsoft.ResourceManagement.Workflow.Hosting.ResourceManagementSqlWorkflowPersistenceService.SaveWorkflowInstanceState(Activity rootActivity, Boolean unlock)
from mimwal.
Thanks! If Nullifying the variables is the solution then code can be added to clear them out once the activity execution completes. Let me check.
from mimwal.
Hi @mrmueller, I tried this, but I'm not able to get the repro :(
Here is my SQL activity:
CreateSqlParameter("AuxDB","@firstname", [//Target/FirstName]) => $FirstName
CreateSqlParameter("AuxDB","@lastname", [//Target/LastName]) => $LastName
ExecuteSqlScalar("AuxDB", "Select @firstname+@lastname", $FirstName, $LastName) => $AccountName
Can you provide a simple repro? Probably some datatype is causing this issue?
from mimwal.
Sorry, yes, I've a repro now.
from mimwal.
Hi @mrmueller, please try the latest release MIMWAL v2.18.1110.0 and let me know.
from mimwal.
I'm closing this issue as fixed in the latest release.
from mimwal.
Sorry for the delay, I was out of the office. The issue does not occur with MIMWAL v2.18.1110.0.
Thanks @NileshGhodekar . Great speed. 👍
from mimwal.
Related Issues (20)
- GenerateRandomPassword function and consecutive characters HOT 2
- GenerateRandomPassword Function not present HOT 4
- Check Target exists before executing activity HOT 2
- Event ID 41501 Thrown during Generate Unique Value Activity HOT 2
- Build solution - The referenced component 'WorkflowActivityLibrary' could not be found. WorkflowActivityLibrary.UI HOT 3
- Failure adding assembly to the cache: Strong name signature could not be verified HOT 2
- GenerateUniqueValue conflict filter parsing starts-with
- Generate Unique ID limit HOT 1
- Feature request - Adding dot notation support to Converttonumber HOT 1
- Feature Request : Add a possibility to query Azure AD in the "Generate Unique Value Activity"
- This repo is missing important files HOT 1
- With IIF statement, both true and false conditions are evaluated HOT 2
- Update Resource - PowerShell activity Error
- How to monitor changes in Workflow HOT 3
- MIMWAL UI display issue HOT 24
- MIM Portal ignoring extra lines in xoml HOT 2
- Feature Request - CamelCase HOT 4
- DateTimeFromFileTimeUTC Function error (attribute Type) HOT 5
- Verify Request - Error Message HOT 2
- Issue with deleting ids from MIM portal HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mimwal.