[Vtigercrm-developers] Workflow: Set field values - assign to group fails.

Alan Lord (News) alanslists at gmail.com
Mon Jul 30 00:33:37 PDT 2012


On 27/07/12 14:50, Adam Heinz wrote:
> On Fri, Jul 27, 2012 at 5:53 AM, Alan Lord <alanslists at gmail.com> wrote:
>> Further investigation shows that the workflow is setting the smownerid
>> to "4" which is the ID of the Support Group.
>>
>> But the ticket shows that it has been assigned to the user with id=4 not
>> a group.
>
> This sounds familiar to me.  I have some recollection that during our
> 5.0.4 to 5.2.1 migration, group ids were reassigned so as not to
> overlaps user ids, so that they could coexist in the same integer
> fields without the need to look at a second column to determine which
> type of id it was.  To me it sounds like that reassignment failed or
> didn't happen.  I don't think it should be possible to have a user and
> group with the same id.

Thanks Adam,

It looks like you are correct. I created a new group and it got an id 
based on the next crmentity number by the looks of it. Assigning to that 
new group through the workflow seems to have worked.

Al

-- 
Libertus Solutions
http://www.libertus.co.uk



More information about the vtigercrm-developers mailing list