Page 1 of 1

Cannot Reject on the top node

Posted: Thu Sep 19, 2013 7:13 am
by bunchukokoy
Guys,

Has anyone made a workaround on this one? I have three levels. 0,1,2. All Managers as the topmost node.
The system is that the usergroup assigned for that All Managers node can also submit even if it is the last node. I intergrated a TI that exports a CSV on the submission.

But after the submission, when I try to reject, it prompted an error. That was fine. I said maybe administrative.
But when I try to use an admin account, it also prompted the same error. Cannot Reject On Top Node.

Is it still something in the control cubes?

thanks.

Re: Cannot Reject on the top node

Posted: Thu Sep 19, 2013 8:26 am
by bunchukokoy
Hi.

I see it guys. I commented this whole block in the }tp_workflow_change_node_state TI. I still wonder what the explanation is.

Thanks. :)
###
### If (cNodeParent @= '' & DTYPE(gApprovalDim, pNode) @<> 'N');
### vReturnValue = ExecuteProcess(cControlPrefix | 'tp_error_update_error_cube',
### 'pGuid', pExecutionId,
### 'pProcess', cTM1Process,
### 'pErrorCode', 'TI_NO_REJECT_ON_TOP',
### 'pErrorDetails', pPrivilege,
### 'pControl', pControl);
###
### ProcessError;
### EndIf;
###