Skip to content

Instantly share code, notes, and snippets.

<?xml version="1.0" encoding="UTF-8" ?>
<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata">
<apiVersion>47.0</apiVersion>
<isExposed>true</isExposed>
<masterLabel>Professor Flow | Visual Nav</masterLabel>
<targets>
<target>lightning__FlowScreen</target>
</targets>
<targetConfigs>
<targetConfig targets="lightning__FlowScreen">
({
doInit: function(component, event, helper) {
helper.hlpCheckValidity(component, event);
}
});
global class CalculateBusinessHoursDiff {
global class request
{
@InvocableVariable(label='Business Hours Id' required = true)
global String businessHoursId;
@InvocableVariable(label='Start Date' required = true)
global DateTime startDate;
@InvocableVariable(label='End Date' required = true)
global DateTime endDate;
}
global class calculateIsInsideBusinessHours {
global class request
{
@InvocableVariable (label='Date' required = true)
global DateTime givenDateTime;
@InvocableVariable (label='Business Hours Id' required = true)
global String businessHoursId;
}
global class CalculateNextBusinessDate {
global class request
{
@InvocableVariable (label='Start Date' required = true)
global DateTime givenDateTime;
@InvocableVariable (label='Business Hours Id' required = true)
global String businessHoursId;
}
global class response
{
global class addBusinessHours {
global class request
{
@InvocableVariable (label='Start Date' required = true)
global DateTime startDateTime;
@InvocableVariable (label='Business Hours Id' required = true)
global String businessHoursId;
@InvocableVariable (label='Interval To Add (Milliseconds)' required = true)
global Long intervalMilliseconds;
}
<aura:component implements="lightning:availableForFlowScreens" access="global">
<aura:attribute name="mydata" type="conference360__Event__c[]"/>
<aura:attribute name="selectedRows" type="conference360__Event__c[]"/>
<aura:attribute name="mycolumns" type="List"/>
<aura:attribute name="column1_label" type="String"/>
<aura:attribute name="column1_fieldName" type="String"/>
<aura:attribute name="column1_type" type="String"/>