ISSUE/QUESTION: When working with Workflows you might encounter errors indicating SPIN/DOM-XML. These errors can be random but when occurred once can occur repeatedly.The error is 'Cannot serialize object in variable 'var' : SPIN/DOM-XML-01030 Cannot create context'. It is visible in troubleshoot mode as below.ENVIRONMENT: IFS CloudAUDIENCE: ALLRESOLUTION/ANSWER:When this error is encountered at the point of using an array in a script task, following workaround can be used.Instead of an array use the java ArrayLIst implementation in the script task. For example, the error seen in the image can be overcome by replacing the script with the following. var c = new java.util.ArrayList(); c.add(‘x’); execution.setVariable("abc",c); CAUSE: N/AADDITIONAL INFORMATION: N/ASCRIPTS/LOGS: N/ASOURCE: CS0206101VERIFIED: NO
Already have an account? Login
No account yet? Create an account
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.