Skip to main content

pendingProcesses/index

@boldpenguin/sdk-reduxGlobals"pendingProcesses/index"

Index

Variables

Variables

Const selectIsActiveQuestionSetPendingProcess

selectIsActiveQuestionSetPendingProcess: function & OutputSelectorFields‹function› & object = createSelector( getApplicationPendingProcesses, getCurrentActiveQuestionSetId, (pendingProcesses, activeQuestionSetId) => { return pendingProcesses.some( (process) => process.question_set_id === activeQuestionSetId && (process.state === ApplicationFormProcessState.Pending || process.state === ApplicationFormProcessState.Queued || process.state === ApplicationFormProcessState.Executing) ); } )

Returns if the active question set has any incomplete pending processes

param The BpSdk Redux store