We had a problem for quite some time at my place. We had consultant on the problem and also Symantec but we never found the solution and always used a workaround. Today I have found the root cause of the problem so i'm sharing the info in case some ever search for it.
While coding with workflow you sometimes need to regenerate Symantec.Components.Generated7.Altiris.Resource because there was some custom resource type created in Altiris. At our place we have like 1000 error lines while trying to regenerate that component, errors about invalid argument for output.
What I found out spying through the process is that some c# source code is generated then compiled in temp and I found the error.
You can't have a resource type named Array and probably other reserved words because they interfere with namespace definition in the source code and create havok in the compile job. Renaming the resource type Array to anything else solved the problem.
Have a good day and I hope it will helps someone someday.