How to show an Error Message if the user adds NON-FG parts to FG Workflow.

Hi

To restrict users to add specific Items in the ECO  we  need to show an error message if the user adds NON-FG parts to FG Workflow. Either we need to show this when user adds an NON FG item to affected items in a ECO with FG Workflow, or we need to show an error message when user submits.

Please give any solution. 

kshama

Add Comment
3 Answer(s)

Hi Kshama,

you’ll need to write an process extension that will validate the kind of item been adding to the BOM.
It has to not proceed if the validation criteria is not met, it can show the error to help users figure out what’s going on.

My best
Carlos

Agile Angel Answered on January 18, 2019.
Add Comment

Hi Carlos,

Thanks for quick response, can’t we do this by configuration? Or only custom code ( process Extension) is required?

Reg
Kshama

Agile User Answered on January 18, 2019.
Add Comment

We control this via Workflow matching criteria, and specify the allowable Affected Item’s Item Type.  If the workflow is already selected on the change’s Cover Page before the Non-FG part is added, users will get an “Object Violates Workflow Matching Criteria” error when attempting to add a non-fg and the affected item won’t be added.  There really isn’t a way to modify the error message unless your write a PX. I do believe this is controlled by a Smart Rule (at least in 9.3.4)

If the workflow has not been selected on the change’s Cover Page, users will be allowed to add a NON-FG to the affected items, however the “FG Workflow” will not be available to select from the change Cover Page Workflow attribute.

Does that help?

Agile User Answered on January 18, 2019.

Thanks, Donald,

so it’s clear we have to write PX for this requirement.

Kshama

on January 21, 2019.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.