• Khakan Ispakhev
  • NEWBIE
  • 0 Points
  • Member since 2023

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 2
    Replies
AND(
$UserRole.Name <> 'System Administrator',
$Setup.Migration_Admin__c.AdminId__c <> $User.Id,
CASE( RecordType.Name ,
'Rental', 1,
'Retail', 1,
'Corporate/System Help', 1,
'Customer Experience-Quiq', 1,
'Custom'
0 ) = 1,
OR(
AND(
TEXT(Status) = 'Solved',
OR(
ISBLANK(TEXT(tb_Type__c)),
ISBLANK(TEXT(tb_Category__c))
)
)
I keep getting an error, whcih is attached in this post. User-added image
Need assistance, please
 
I can run commands from terminal such as "FDX force:data:query -q "SELECT Id FROM Account" and from the query builder but can seem to run from the .soql script tab. From command pallette I cannot see the command "SFDX: Execute SOQL Query with Currently Selected Text "

When I click on the output tab and select SOQL extension I get the "INFO: No default org found. Set a default org to use SOQL Builder. Run "SFDX: Create a Default Scratch Org" or "SFDX: Authorize an Org" to set one." and "SFDX: Authorize an Org" is not available as a command. 

I want to be able to execute SOQL queries.