Switch Case Issues

If(OutPut_Status.Contains(“Paid”),“Paid”, If(OutPut_Status.Contains(“Denial”),“Denial”,If(OutPut_Status.Contains(“Total Patient Responsibility”),“TPatRes”,If(OutPut_Status.Contains(“Set to pay”),“Set to pay”,If(OutPut_Status.Contains(“In-Process”),“In-Process”,“Default”)))))

What is Wrong in this statement?

Get an Error "option strict on disallows implicit conversions from ‘string’ to ‘integer’

OutPut_Status DataType is String

For the switch activity there is a property called Type Argument, change the argument type to string which is by default Integer.

For better understanding have a look here

Regards,
Sanjit

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.