Questions tagged [salesforce-functions]

Salesforce Functions are code run on-demand in the Salesforce trusted compute cloud. Functions can be written using Java, and Node.js with JavaScript/TypeScript and invoked using Apex after deployment.

14 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
6 votes
1 answer
105 views

Do Customer Org also require salesforce functions License? When installing an APP that is bulit using salesforce function

I'm quite new to the whole Salesforce infrastructure. My question is: If I build an APP using Salesforce Functions License, and I utilise the salesforce function to create a managed released package ...
Hunain Gillani's user avatar
4 votes
0 answers
29 views

Are there any container recycling in SF Functions computing environment?

Does anyone know (through some documentation, or webinar,..etc) if Salesforce Functions computing environment is doing "container recycling" on periodic basis? something similar to dyno ...
Ammar's user avatar
  • 51
3 votes
0 answers
195 views

Anyone using Salesforce Functions to read and write via SFTP?

Trying to figure out whether to look further into using Salesforce Functions to read and write and also transform large documents via SFTP. Three barriers to this are: The pricing - not cheap: see ...
Keith C's user avatar
  • 136k
2 votes
0 answers
54 views

Salesforce Function fails to build on deploy

I'm trying to get Salesforce Functions working on my org, and seem stuck at the last step. I followed the docs (getting a compute environment + scratch org set up, etc) up until the deploy script. ...
Brendan's user avatar
  • 21
1 vote
0 answers
31 views

Is there a way to run a function what will self recompile if you make any changes?

I know that I can use the below commands: sf run function start local and sf run function start container But if I am making lots of small changes it is very annoying to keep killing processes and ...
KarlLivesey's user avatar
1 vote
0 answers
97 views

Use Functions to download, parse and filter large App Analytics logs

​Can somebody please help me to assess the feasibility of my solution with Salesforce Functions?   For many years I maintain an Open Source solution to receive and monitor App Error emails from ...
Robert Sösemann's user avatar
1 vote
0 answers
49 views

salesforce functions debugging issue

I am not able to use "Debug Invoke" feature from payload.json -- getting following error: Unable to access the function in "/Users/dev/Desktop/dev/FuncitonsDemo3/functions/...
Parikhit Sarkar's user avatar
1 vote
2 answers
184 views

Error when try to deploy salesforce functions

I have created salesforce functions and created compute environment .But it is giving me the below error when i try to deploy my functions Pushing changes to functions... failed » Error: Invalid ...
sfdcudhay's user avatar
1 vote
0 answers
166 views

How to read Lightning Files (ContentVersion data) using Salesforce Functions?

This appears like a duplicate of this question, but it is not. I am looking to read the contents of a file attachment (ContentVersion) in Salesforce. package com.example; import com.salesforce....
Lightning Evangelist's user avatar
1 vote
1 answer
278 views

Error: spawn C:\Program Files (x86)\sf\client\node_modules\@heroku\functions-core\bin\benny-windows.exe ENOENT Code: ENOENT

I am attempting to start a Java-based function from within the desired function folder in VS Code Terminal via the command: sf run function start However, it results in an error: Error: spawn C:\...
Lightning Evangelist's user avatar
0 votes
0 answers
67 views

Salesforce functions - No access to Calculation Matrix related Objects

We are using Salesforce functions which uses Calculation Matrix tables. we are getting following error when trying to run the code from compute environment. {"error":true,"errorMessage&...
Rajesh's user avatar
  • 43
0 votes
0 answers
65 views

How can we check 'sf env create compute' status for Salesforce Functions?

Does anyone know how to check the status for sf env create compute command? There doesn't seem to be a way to check with sf help.
humanoid's user avatar
  • 327
0 votes
1 answer
3k views

ERROR: transport error 202: bind failed: Address already in use when attempting to start a Salesforce Function

I am seeing this error in terminal when trying to start a function: ERROR: transport error 202: bind failed: Address already in use ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(...
Lightning Evangelist's user avatar
0 votes
1 answer
68 views

Error: Request failed with status code 403 while creating a compute environment for Production

I was able to create compute environments successfully in sandboxes. When I attempt to do the same for Production: > sf env create compute -o MyOrgAlias -a MyComputeEnv I get: > Creating ...
Lightning Evangelist's user avatar