ASSIGN TASK TO A REPRESENTATIVE BASE ON TYPE OF REQUEST

I have an app which takes in complain and request.

I want an automation to assign these complains or request base on the department that will resolve it and assign to the personnel on duty. below are the tables.

how do I go about it please?

Achiever2023_3-1710407298192.png

 

Achiever2023_5-1710407351529.png

BELOW IS THE TABLE I WANT AS OUTPUT, (auto assign the task base on user complain/request)

Achiever2023_0-1710408432292.png

 

 

 

 

Solved Solved
0 18 230
1 ACCEPTED SOLUTION

Aurelien
Google Developer Expert
Google Developer Expert

Hi @Achiever2023 

Sorry for answering that late.

I built an app to get exactly your point I realized I was missing the complaint/department matching part.

I built this: 

Aurelien_1-1710830209177.pngAurelien_2-1710830246582.pngAurelien_3-1710830262540.png

Aurelien_4-1710830278397.png

 

and I set these settings:

Aurelien_5-1710830330070.pngAurelien_6-1710830345495.pngAurelien_7-1710830358917.png

Aurelien_8-1710830451726.png

 

Eventually, I got this (small record of the result):

https://share.zight.com/BluqeJoj

 

View solution in original post

18 REPLIES 18

Aurelien
Google Developer Expert
Google Developer Expert

Hi @Achiever2023 

You need to set a match/making:

Aurelien_0-1710408273627.png

 

Here is my suggestion:

Table "department", with columns:

- id, type Text, initial value expression UNIQUEID(), show property off

- name, type name, property LABEL on.

 

Table "personnel", with columns:

- email, type email

- name, type name

- department, type Ref, source table "Department"

 

Table "complain", with columns:

- id, type Text, initial value expression UNIQUEID(), show property off

- department, type Ref, source table "department"

- personnel, type Ref, source table personnel, valid_id expression: 

[department].[Related Personnel]

and initial value expression:

ANY([department].[Related Personnel])

You don't need any automation there.

Thank you for the quick response. The main table where the complain or request drop is below, it have an i.d, apologies i didn't include it in my first screenshot

Achiever2023_0-1710414348221.png

 

Ok. Did you try my suggestion?

Am on it, I will revert back soon

I have created those tables and have set up the parameters as requested

Achiever2023_0-1710421969925.pngAchiever2023_1-1710421989837.pngAchiever2023_2-1710422006930.png

Related personnels was created on its own, not part of the column for table department

Am stuck at below and dont what to do, 

Achiever2023_3-1710422086512.png

Achiever2023_4-1710422128982.png

 

Achiever2023_0-1710430640902.png

Error encountered

Hi @Achiever2023 

Aurelien_0-1710436792861.png

Did you set type Ref to column Department?


@Aurelien wrote:

Table "complain", with columns:

- id, type Text, initial value expression UNIQUEID(), show property off

- department, type Ref, source table "department"


Yes I did, if you check the screenshot

In the table "Ticket", the column [department] ?

yes, please

Achiever2023_0-1710495251988.png

 

Hi @Achiever2023 

Can you share your screenshot again with no personal information? It has been removed from staff ๐Ÿ™‚

hahahaha,

 

Thanks Aurelien,

 

Achiever2023_1-1710495272430.png

 

What could be the issue?

Hi @Achiever2023 

I'm busy for a few hours, I will give it a try on my side and let you know asap!

Oh yeah, my apologies.

Thanks in advance.

Hi @Aurelien ,

Good Morning.

any update as at now?

Aurelien
Google Developer Expert
Google Developer Expert

Hi @Achiever2023 

Sorry for answering that late.

I built an app to get exactly your point I realized I was missing the complaint/department matching part.

I built this: 

Aurelien_1-1710830209177.pngAurelien_2-1710830246582.pngAurelien_3-1710830262540.png

Aurelien_4-1710830278397.png

 

and I set these settings:

Aurelien_5-1710830330070.pngAurelien_6-1710830345495.pngAurelien_7-1710830358917.png

Aurelien_8-1710830451726.png

 

Eventually, I got this (small record of the result):

https://share.zight.com/BluqeJoj

 

Thanks alot, really appreciate it

Top Labels in this Space