epamtiosteel
Explorer
Member since ‎10-05-2022

User Statistics

  • 25 Posts
  • 0 Solutions
  • 14 Kudos given
  • 2 Kudos received

User Activity

Hi everyone, I have an application with OData v2 no-drafts and Fiori Elements with an extended controller of an Object Page. In the Object Page I have a table with some child elements of the main entity (main one is order, child ones are lines of t...
Hi colleagues, Is there any way in CAP to validate a value agains some range with only one side restricted by just annotations? unfortunately @assert.range has only 2-sides restriction as per documentation https://cap.cloud.sap/docs/guides/prov...
Hi colleagues, usually if multiple errors are expected we throw it like this: srv.on('CREATE', 'myEntity' req => { if (true) { req.error(400, 'nope 1'); req.error(400, 'nope 2'); return; }}) Sometimes though we want to clean up...
Hi colleagues and david.kunz2 especially. Could you please give an advice of how to throw meaningful errors in CAP actions (Bound one in my case)? The issue is that an action handler doesn't have a regular req parameter. The best option I found...
Hi colleagues, I'm currently trying to call an SAP Build Process Automation API from CAP in order to create a Workflow instance async createWorkflowInstance(req, definitionId, context) { const service = await cds.connect.to('spa_workflow')...