There is a data class that includes a checkbox (Boolean) value. We could use the get resource component and then populate the data into a custom type. However now it comes up with the following error.
Error Details Error Message: Unable to cast object of type 'System.Boolean' to type 'System.String'. Message Stack: at AltirisOutput.RequestedConsumables.get_Allocated() Close
If we don’t use a custom type and create a variable of exactly the same type as my data class, same error. The weird thing is that it worked before, we made no changes and now it does not.
It appears there is a problem with the datatype used for the StandardContractInformation Altiris type within workflow solution. This datatype is looking for a string type when the database contains a bit value. This will cause a problem when using the output of "Approved" from StandardContractInformation.
This issue has been reported to development for this datatype and Symantec is working on a resolution.
- The first option would be to use a dynamic mapping before displaying this information in a form, etc. This will allow the customer to modify the value to a True or False string value based on the bit returned.
- As an alternative, the customer could also create their own datatype and return the data using SQL or an ASDK webservice to correctly display the StandardContractInformation avoiding the issue with the GetResourceComponent and datatype.
Applies To Workflow Solution
ID: ABQ 17115
Logged in abqdc01 (Altiris - Albuquerque) database
Imported Document Id
This is machine translated content
Login to Subscribe
Please login to set up your
For security reasons, your link to this document has expired. Please click on the attachment link to access this file.
The attachment that you are looking for no longer exists.
There has been an issue retrieving your attachment. Please try again.
Didn't find the article you were looking for? Try these resources.