Skip to main content

I want to redirect users to a record variable's ID that is hyperlinked within a display text on a screen component.

 

Usually I create a formula like this:

LEFT($Api.Partner_Server_URL_260, FIND( ‘/services’, $Api.Partner_Server_URL_260)) & {!varMyDesiredRecord.Id}

 

But it throws a syntax error in the Field Service Mobile Flow.

 

@* Salesforce Field Service * 

@Lightning Flow Discussions 

4 个回答
  1. 2022年10月26日 09:40
    @Josefine Spott the available formula functions in Field Service Mobile flows are frustratingly limited and we experienced the concatenation issue multiple times as well in some Mobile flows. The only „workaround“ that seemed to work here is that you would introduce an actual formula field (type string) on the Object you are referring to in your example above and then try your formula in there. Then, you can lookup that new field in your mobile flow and get the concatenated string incl. your URL part and the record Id from there and use it e.g. in a screen element. Probably try that - that at least would avoid any limitations you have with formulas inside the flow.
0/9000