Process Mapping Logo

Process Mapping - Forums

Sharing 19 years of knowledge and experience

 
Metastorm BPM forums
Sign up Latest Topics
 
 
 


Reply
  Author   Comment  
ajeffers

New Member
Registered:
Posts: 4
Reply with quote  #1 
Hi,

I'm trying to deploy a migrated process.  I have fixed all of the code bugs that come along with migrating a v7 process to v9 and the solution validates fine.  However when I try to deploy the solution I get 2 errors repeated over and over (36 times each):-

1. The best overloaded method match for 'Metastorm.Runtime.Core.RealExpressionHelper.GetRealValue(Metastorm.Runtime.Types.Real)' has some invalid arguments 363 50 

2
. Argument 1: cannot convert from 'Metastorm.Runtime.Types.Text' to 'Metastorm.Runtime.Types.Real' 363 84 

There is nothing in the component column of the messages so I don't know where to go to fix this error.

Has anyone seen this before or can you point me at a place where I can get more details about where this error is occurring?

Thanks
Adam
 
0
Jerome

Avatar / Picture

Guru
Registered:
Posts: 5,507
Reply with quote  #2 
Is the code migrated to C#, or still in the 'Evaluate()' version 7 state?
__________________
Post an example, and we will have a much better idea what the problem is. In about 90% of posts, the problem is one of communication. Examples bridge that gap.
0
ajeffers

New Member
Registered:
Posts: 4
Reply with quote  #3 
It is migrated to C# (I'm using the beta version of the migration tool)
0
Jerome

Avatar / Picture

Guru
Registered:
Posts: 5,507
Reply with quote  #4 
Then you may have some SelectSql() calls with (real) in front of them, and a ".Text" at the end. just change the end to .real or .Integer as appropriate and remove the preceeding (Real). We have had a lot of these.
__________________
Post an example, and we will have a much better idea what the problem is. In about 90% of posts, the problem is one of communication. Examples bridge that gap.
0
ajeffers

New Member
Registered:
Posts: 4
Reply with quote  #5 
Thanks for the reply, I don't seem to have any (real) casts going on though.  Could it be anything else?
0
ajeffers

New Member
Registered:
Posts: 4
Reply with quote  #6 
OK I have solved it.  You pointed me in the right direction looking for "Text" variables set into attributes that needed to be "Real".  I found a set of Metastorm status controls that took a Text variable input, this failed as Status controls need real values in order to compare the value against the set thesholds.

Thanks for your help and I hope this is useful for others in the future.

Adam
0
Previous Topic | Next Topic
Print
Reply

Quick Navigation:


Create your own forum with Website Toolbox!