Skip to main content
Known Participant
April 12, 2021
Solved

Getting Cast error in process model ?

  • April 12, 2021
  • 2 replies
  • 0 views

Hi All,

I am getting invalid cast error in process model, When i try to store data into DB getting error in Write to data store entity.

How to fix this issue ?

Best answer by baratc

Hi minhaj,


In the write to datastore entity smart service

please do the followinga)Inputs tab
Datastore Entity - Add your datastore entity name
next is add another new input variable and enter the name

Refer the screen shot for the mapping,

Note: The mapping you did works for write to multiple datastore entity smart service but not for write to datastore entity

Please let me know if this helps. Thanks

2 replies

baratcAnswer
Inspiring
April 12, 2021

Hi minhaj,


In the write to datastore entity smart service

please do the followinga)Inputs tab
Datastore Entity - Add your datastore entity name
next is add another new input variable and enter the name

Refer the screen shot for the mapping,

Note: The mapping you did works for write to multiple datastore entity smart service but not for write to datastore entity

Please let me know if this helps. Thanks

Known Participant
April 12, 2021

Thanks [mention:8b16b01a9461443eae27679fda5d25f2:e9ed411860ed4f2ba0265705b8793d05] above solution that you suggest is working fine