12-30-2013 01:41 AM - edited 12-30-2013 01:42 AM
How do I disable "assignment.qbe.g" while saving the change Management form? The Change Management forms are associated to phases. The first phase doesnt contain the Coordinator Group, however while saving the form the "assignment.qbe.g" page opens up prompting to select the assignment group. I dont want to save an assignment group in the first phase.
I want the assignment group to be saved from the second phase onwards.
From where do I disable the "assignment.qbe.g" for the first phase?
Solved! Go to Solution.
12-30-2013 01:59 AM
12-30-2013 02:26 AM
Following on from the previous 2 suggestions, the likeliest reason for this is in the format control validations. It is likely that there is a validation set to ensure that the assignment group is set.
To prevent this firing during the first phase you would need to change the validation condition to exclude the first phase (e.g.. phase in $file~="first") where phase is the phase name field in the record and the actual first phase name is "first".
The fill recurse option would fill the field automatically, so it is unlikely that is the cause, unless there is a query in place that may return multiple assignment groups.
Check the format control first.
12-30-2013 02:40 AM
In case of blank assignment group , it will prompt.
Check for the link line previous to assignment.
and post you subroutine of cm3r and form level fc.
Also possible 'validity.fields' subroutine is calling to check 'assignment.group'.
12-30-2013 03:43 AM
I was able to disable "assignment.qbe.g" from the cm3r subroutines.
In the 2nd phase I was able to choose the assignment group and the assignees. But while moving to the next phase the Assignment Group field got blank.
However, I have a defined autoassignment based on the category and the subcategory selected.
assign.dept in $file=assignment in $file9
Queries contain $file9
Seems like while Moving from 2nd phase to 3rd phase, the Autoassignment logic is playing its part. But I have put Update:false, so why is the Assignment Group value changing to blank on moving to phase 3.
12-30-2013 04:04 AM
In Change module or modules having phases , add is executed while adding new phase. Hence whenever you moves to new phase 'add' calculation will be executed along with update.
here you can just try to replace expression in add/update as,
current.phase in $file~="first phase name"
regarding blank of assign.dept , it depends on your calculation, here what are the expression placed in query no.9 in query tab.
12-30-2013 04:53 AM
Tried with current.phase in $file ~="phase 3" in Calculations add column. Its not working. The assignment field is left blank while moving to phase 3 from phase 2.
Expression in Query 9,
Query: itc.category=category in $file and itc.subcategory=subcategory in $file
12-30-2013 04:58 AM
Cannot say there could be multiple reason for same.
Check if at add or initially is there any calculation make this dept filed blank.
Is this query matching any valid record ?
12-30-2013 05:31 AM
I tried with autoassignment ADD: false and Update:false. Its working.
But when I write a condition for autoassignment with Add:current.phase in $file~="Phase 3", the Coordinator field is left blanl while moving from Phase 2 to phase 3.
Any calculations depending on assignment group has been made false.
12-30-2013 05:54 AM
$file == current record.
Also may try the condition,
current.phase in $file0="Phase 2" and current.phase in $file="phase 3"