cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Resolver I
Resolver I

Error in Helpdesk Example PowerApp

I am getting three errors in the app all related to this function:

If(RunFlow, HelpDeskFlow.Run("'" & TicketToRunFlow.ID & "'"));

The error is:

"Invocation of unknown or unsuorted function"

Any ideas why? I have gone thru the documentatin and checked that the flow exists

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Error in Helpdesk Example PowerApp

Hi @BrianS ,

Could you please share more details about the error message within your app?

Have you added the corresponding flow connection within your app?

 

I have made a test on my side, and don't have the issue that you mentioned. Based on the issue that you mentioned, I think this issue maybe be related to flow connection within your app.

Please check if you have created corresponding flow connection within your app, or please check if the flow connection you created within your app is valid.

In addition, please also consider modify your formula as below:

If(
RunFlow,
HelpDeskFlow.Run(TicketToRunFlow.ID) /* <-- Do not wrap the value with single quotes ('') */
)

If the TicketToRunFlow.ID formula return a Number value, but the argument of the 'xxx'.Run() function is required to provide a Text value, please modify it as below:

If(
   RunFlow, 
   HelpDeskFlow.Run(Text(TicketToRunFlow.ID))     /* <-- Do not wrap the value with single quotes ('') */
)

 

Please consider re-create a new app, then re-add a new connection to your flow from your app, check if the issue is solved.

Recently, within PowerApps, there are some issues with connections created within PowerApps app or MS Flow, please check the following article for more details:

https://powerapps.microsoft.com/en-us/support/

The issue within your app may be related to this issue.

 

More details about starting a flow from an app, please check the following article:

Start a flow from an app

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

5 REPLIES 5
Highlighted
Community Support
Community Support

Re: Error in Helpdesk Example PowerApp

Hi @BrianS ,

Could you please share more details about the error message within your app?

Have you added the corresponding flow connection within your app?

 

I have made a test on my side, and don't have the issue that you mentioned. Based on the issue that you mentioned, I think this issue maybe be related to flow connection within your app.

Please check if you have created corresponding flow connection within your app, or please check if the flow connection you created within your app is valid.

In addition, please also consider modify your formula as below:

If(
RunFlow,
HelpDeskFlow.Run(TicketToRunFlow.ID) /* <-- Do not wrap the value with single quotes ('') */
)

If the TicketToRunFlow.ID formula return a Number value, but the argument of the 'xxx'.Run() function is required to provide a Text value, please modify it as below:

If(
   RunFlow, 
   HelpDeskFlow.Run(Text(TicketToRunFlow.ID))     /* <-- Do not wrap the value with single quotes ('') */
)

 

Please consider re-create a new app, then re-add a new connection to your flow from your app, check if the issue is solved.

Recently, within PowerApps, there are some issues with connections created within PowerApps app or MS Flow, please check the following article for more details:

https://powerapps.microsoft.com/en-us/support/

The issue within your app may be related to this issue.

 

More details about starting a flow from an app, please check the following article:

Start a flow from an app

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Highlighted
Resolver I
Resolver I

Re: Error in Helpdesk Example PowerApp

I have attached a few screen grabs. The connection to the Flow looks correct, but I'm new to this. 

I tried your suggestions, but they are also giving errors. HelpDeskFlow is the name of the flow, and it is showing in the app.

 

Highlighted
Resolver I
Resolver I

Re: Error in Helpdesk Example PowerApp

I figured it out - totally user error!

I had not set up the flow correctly - I had the wrong Sharepoint list in the Site address.

 

Tahnks for your help!

Highlighted
Community Support
Community Support

Re: Error in Helpdesk Example PowerApp

Hi @BrianS ,

Have you solved your problem?

 

If you have solved your problem, please go ahead to click "Accept as Solution" to identify this thread has been solved.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Anonymous
Not applicable

Re: Error in Helpdesk Example PowerApp

Hi @v-xida-msft @BrianS, After setting up my PowerApps and flow, other users are unable to receive email notifications, only the creator receives, any help for this issue 

Helpful resources

Announcements
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

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

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (7,091)