1. In the Profile or Permission Set, Disable “Multi-Factor Authentication for API Logins” and “Multi-Factor Authentication for User Interface Logins”.

2. In the Profile or Permission Set, set “Session Security Level Required at Login” to None.

--

--

The Transaction Finalizers feature enables you to attach actions, using the System.Finalizer interface, to asynchronous Apex jobs that use the Queueable framework. A specific use case is to design recovery actions when a Queueable job fails.

Sample Use Cases:
1. Retry in FinalizerContext if the queueable job fails
2. Add error log record in FinalizerContext to report on failures

Sample Class:

public class SampleClass implements Finalizer, Queueable {public void execute( QueueableContext ctx ) {
}
public void execute( FinalizerContext ctx ) {

String parentJobId = '' + ctx.getAsyncApexJobId();
if ( ctx.getResult() == ParentJobResult.SUCCESS) {

System.debug('Parent queueable job [' + parentJobId + '] completed successfully.');

} else {

System.debug( 'Parent queueable job [' + parentJobId + '] failed due to unhandled exception: ' + ctx.getException().getMessage() );

}

}

}

--

--

In order to pass pass report filter value in the URL, we have to use fv0, fv1….fvn based the filters used in the report. In the Lightning Web Component state attribute should be used along with Lightning Navigation to pass it. Please check the following code for reference.

Sample Code:

HTML:
<template>
<lightning-card>
<lightning-button
label="View Report"
onclick={viewReport}></lightning-button>
</lightning-card>
</template>
JavaScript:
import { LightningElement } from 'lwc';
import { NavigationMixin } from 'lightning/navigation';
export default class ReportNavigation extends NavigationMixin( LightningElement ) {viewReport( event ) {

this[ NavigationMixin.Navigate ]({
type: 'standard__recordPage',
attributes: {
recordId: '00O8c000007uh5UEAQ',
objectApiName: 'Report',
actionName: 'view'
},
state: {
fv0: 'No'
}
});
}}JS-meta.xml:
<?xml version="1.0" encoding="UTF-8"?>
<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata">
<apiVersion>52.0</apiVersion>
<isExposed>true</isExposed>
<targets>
<target>lightning__Tab</target>
</targets>
</LightningComponentBundle>

Output:

--

--