This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
global with sharing class GetVehicle { | |
@InvocableMethod | |
public static List<Results> getVehicle(List<Requests> requests) | |
{ | |
Vehicle curVehicle = new Vehicle(); | |
curVehicle.model = 'Tesla'; | |
Vehicle.Wheel curWheel = new Vehicle.Wheel(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public with sharing class Vehicle { | |
@AuraEnabled public String model { get; set; } | |
@AuraEnabled public List<Wheel> wheels { get; set; } | |
@AuraEnabled public String engine { get; set; } | |
@AuraEnabled public String Id { get; set; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
global with sharing class GenerateFlow { | |
public GenerateFlow() { | |
} | |
@InvocableMethod(label='GenerateFlow' ) | |
public static List<FlowGenResult> GenerateFlow(List<FlowGenRequest> parameters){ | |
String res = ''; | |
try{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
global with sharing class AssessCustomerStatus { | |
@InvocableMethod | |
public static List<Results> GetStatus (List<Requests> requests) | |
{ | |
//this operates off the current User | |
Id userId = UserInfo.getUserId(); | |
User curUser = [select name, RevenueTier__c, contactid, contact.accountid from user where id = :userid]; | |
Integer severeCaseCount = [SELECT COUNT() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<aura:component > | |
<aura:handler event="c:myEvent" action="{!c.handleMyEvent}"/> | |
I'm a child component | |
</aura:component> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM debian:jessie | |
RUN apt-get update -y | |
RUN apt-get install -y git | |
RUN apt-get install -y curl | |
RUN apt-get install -y vim | |
RUN apt-get install -y tcpdump | |
RUN apt-get install -y screen | |
RUN apt-get install -y nano |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<Package xmlns="http://soap.sforce.com/2006/04/metadata"> | |
<types> | |
<members>*</members> | |
<name>RecommendationStrategy</name> | |
</types> | |
<version>42.0</version> | |
</Package> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<RecommendationStrategy xmlns="http://soap.sforce.com/2006/04/metadata"> | |
<description>Softbank Call-in Strategy</description> | |
<recommendationStrategyName>softbank_1</recommendationStrategyName> | |
<masterLabel>SomeMasterLabel</masterLabel> | |
<!-- Root --> | |
<strategyNode> | |
<name>RootNode</name> | |
<description>the root</description> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<aura:component implements="flexipage:availableForAllPageTypes,flowruntime:availableForLocalInvocableActions,lightning:availableForFlowScreens" access="global"> | |
<aura:attribute name="foo" type="String[]" default="false"/> | |
<!-- input variables used to tell this component which things to make visible --> | |
<aura:attribute name="visibility_Dickens" type="Boolean" default="false"/> | |
<aura:attribute name="visibility_Austen" type="Boolean" default="false"/> | |
<aura:attribute name="visibility_Sailor" type="Boolean" default="false"/> | |
<!-- output variables used to pass checkbox values back to the Flow --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<aura:component implements="flexipage:availableForAllPageTypes,flowruntime:availableForLocalInvocableActions,lightning:availableForFlowScreens" access="global"> | |
<!-- input variables used to tell this component which things to make visible --> | |
<aura:attribute name="visibility_Dickens" type="Boolean" default="false"/> | |
<aura:attribute name="visibility_Austen" type="Boolean" default="false"/> | |
<aura:attribute name="visibility_Sailor" type="Boolean" default="false"/> | |
<!-- output variables used to pass checkbox values back to the Flow --> | |
<aura:attribute name="checkbox_Marthambles" type="Boolean" default="false"/> | |
<aura:attribute name="checkbox_Boodwrights_Canker" type="Boolean" default="false"/> |