This function seems to be triggered even if there is no error log or error message in the Message Log.
I really just want to know if an error log has been generated for my process.
Am I using the wrong function to determine this?
ProcessExitMinorError
- wilsonric
- Posts: 15
- Joined: Mon Jan 10, 2011 4:36 am
- OLAP Product: TM1
- Version: 2.0.9
- Excel Version: 365 MSO 16-0-13127
- Location: Sydney, Australia
ProcessExitMinorError
Regards,
Richard
Richard
-
- Regular Participant
- Posts: 197
- Joined: Wed May 06, 2020 2:58 pm
- OLAP Product: Planning Analytics
- Version: 2.0.9
- Excel Version: 2016
Re: ProcessExitMinorError
vResult = ExecuteProcess('xxx');
If(vResult = ProcessExitMinorError() );
# Do action
EndIf;
If the process generating the minor error is called by a master process, then having something like the above in the master process when calling the child process would return the execution success of the child process
If you want to know if any error had generated not just minor ones then use
vResult = ExecuteProcess('xxx');
If(vResult <> ProcessExitNormal()) ;
# Do action
EndIf;
If(vResult = ProcessExitMinorError() );
# Do action
EndIf;
If the process generating the minor error is called by a master process, then having something like the above in the master process when calling the child process would return the execution success of the child process
If you want to know if any error had generated not just minor ones then use
vResult = ExecuteProcess('xxx');
If(vResult <> ProcessExitNormal()) ;
# Do action
EndIf;