on 02-13-2012 5:03 PM
We have created a MII shared memory attribute with data type timestamp.
Now we are trying to change the value from Menu->DataService->Shared Memory of the project.
But it always throws the error : "Error occured while converting the type of the variable".
Can anyone help in this regard ?
Edited by: AbhiGh on Feb 13, 2012 6:11 PM
Edited by: AbhiGh on Feb 13, 2012 6:11 PM
Dear Abhiroop
This seems some bug with current patch of MII. But if this problem still persists, this can be fixed by one work-around as follows
1. Change the data type of the property (Shared Memory) to String, so that it can be edited in "mm/dd/yyyy hh:mm:ss" format.
2. In the current BLS just convert the string to datetime with built-in function dateformat or datetoxmlformat before passing to target field.
Regards
Som
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Abhi
Can you mention which version of MII you are using?
Regards
Partha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Create a little transaction with a datetime property holding the value you wish to update. Use and Assignment action block to update the persistent timestamp property. Then execute the transaction from your workbench.
Would also add a Tracer action block both before and after the Assign action to display the shared memory property's contents.
You will have to modify the settings of the property so that it can be updated (uncheck Readonly and you may want to tinker a bit with Protected and Cache checkboxes).
If you do a mouse over in the workbench for the property or double click to open it up, it will display its original default value and not necessarily the present contents (been a while since I played with them, so this may have changed).
Regards,
Mike
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
11 | |
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.