Skip to main content
Solved

Apps error triggers

  • August 11, 2020
  • 1 reply
  • 105 views

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?

Best answer by Roberto Chavarria

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.

1 reply

Roberto Chavarria
Pipefy Staff
Forum|alt.badge.img+5
  • Pipefy Staff
  • 46 replies
  • Answer
  • August 18, 2020

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.