Solved

Apps error triggers

  • 11 August 2020
  • 1 reply
  • 75 views

Userlevel 4

Hello, I was wondering how I can trigger a notification through the app (Pipefy SDK) when there is an error on the current page. Alternatively is there away to include the SDK into a lambda function?

icon

Best answer by Roberto Chavarria 18 August 2020, 19:37

View original

1 reply

Userlevel 5
Badge +4

Hi there Rosana! You can create a notification for errors using something like this: 

p.showNotification('Sample error notification', 'error');

You can find more information on this here:
https://developers.pipefy.com/docs/user-interface-functions#pshownotificationtext-type

 

As per your second question regarding lambda, if you’re referring to anonymous expressions, there shouldn’t be a problem.

If you’re referring to the Amazon Web Service Lambda, then this wouldn’t be possible unfortunately. This is used to interact with the web page and not with the API from a server.

Reply