cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

Auto assign tickets

Dears, 

 

Please need help in auto assigning tickets, Thanks
for example in category set to Server in Createnewticket form

Auto Assign it to User4@example.com in Editticket form

1.PNG2.PNG

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Responsive Resident
Responsive Resident

Re: Auto assign tickets

Hi @AhmadHammoud85 ,

 

I assume Category is dropdown field and Assigned to is the text field in your canvas app. if my assumption is correct then you can achieve the requested functionality as below:

 

onChange property of Dropdown write expression as :

 

Switch(dropdown1.selected.value,"Server",Set(varAssignedTo,"UserServer@email.com","Printer",Set(varAssignedTo,"UserPrinter@email.com",.............)

you can add as many as required.

 

In the Text property of Assigned to component set it as varAssignedTo.

 

-------------------------------------------------------------------------------------------

if this answers your question mark it as verified and give it a thumbsup

Regards,

Pavan Kumar Garlapati

View solution in original post

2 REPLIES 2
Highlighted
Responsive Resident
Responsive Resident

Re: Auto assign tickets

Hi @AhmadHammoud85 ,

 

I assume Category is dropdown field and Assigned to is the text field in your canvas app. if my assumption is correct then you can achieve the requested functionality as below:

 

onChange property of Dropdown write expression as :

 

Switch(dropdown1.selected.value,"Server",Set(varAssignedTo,"UserServer@email.com","Printer",Set(varAssignedTo,"UserPrinter@email.com",.............)

you can add as many as required.

 

In the Text property of Assigned to component set it as varAssignedTo.

 

-------------------------------------------------------------------------------------------

if this answers your question mark it as verified and give it a thumbsup

Regards,

Pavan Kumar Garlapati

View solution in original post

Highlighted
New Member

Re: Auto assign tickets

@PavanKumarThanks for your prompt replay

in my case:

Form1 Createticket: Category type is a combobox in a card 

Form2 Edit Ticket: Assigned to also combobox in a card and searchable to get emails 

Can we set the assigned to values on change to the list in sharepoint?

 

Aprreciate your help

Regards,

 

Helpful resources

Announcements
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Robotic Process Automation

Let's talk about the solution provided by Microsoft for Robotic Process Automation (RPA)

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

Top Solution Authors
Top Kudoed Authors
Users online (8,770)