How to restrict automatic signature in workflow

By | December 30, 2020

Sage X3 provide us a feature of processing automatic signature for a record if the record is created or modified by the first level of user present in assignment rule. This means if we have ADMIN as first user to sign a record and if ADMIN himself creates or modifies the record, that particular record will get signed automatically. The user will not have to manually go and perform the signature. You will able to see the record signed and processed to second level user for signature in workflow history. But is some cases user may need to restrict this automatic signature. For example if a user creates a record and need to do some modifications before singing that particular record, in this case user will have to restrict the standard’s automatic signature. Below we will see how we can restrict standard to perform the automatic signature in workflow.

In the below screenshot we can see the first level of user in assignment rule is ADMIN.

Now when we create the purchase order with user ADMIN the standard will not ask user for signature, it will perform the automatic signature as shown in below screenshot.

To restrict the automatic signature we will have to change the setup in workflow rule. Kindly refer the below steps.

Navigate to workflow rules and select the workflow of the object for which we want to restrict the automatic signature.

Navigate: SETUP -> WORKFLOW -> WORKFLOW RULE

Select the ACTION tab from the workflow window. Here we will be able to see what actions are triggered when the workflow is executed. Also we can see the which action is triggered at what phase of workflow and the action’s execution condition, which means at what condition the action will get triggered.

You will be able to see an action named SIGWRK in three different lines of the grid as shown in the below screenshot.

From these three lines you will have to delete the action which has “VAL” in it parameter value as shown below. To check the parameter values just click on the line for which you need to check the parameter and you will be see its value in the parameter tab which is located just below the action grid.

Fig04: General Parameter Values

The reason behind deleting this action is the action is used to sign the record which is the created by first level of user.

Another change we have to do is with DIVPOHAPP1 action. We just have to change the execution condition for this action from “[L]USER<>GUSER & [L]USER<>[F:PSH]REQUSR & S_NBRUSR>0″ into “S_NBRUSR>0”.

The reason behind changing the execution condition for this action is this action updates the purchase order signature status. Hence we will be able to restrict the automatic signature.

Hence, when we make above two changes in workflow rules the automatic signature which get restricted and when the first level user creates or modifies the record he will be able to perform the signature for that particular record.