Package com.flowable.form.engine
Interface FormDataModelVariablesExtractor
public interface FormDataModelVariablesExtractor
- Author:
- Filip Hrisafov
-
Method Summary
Modifier and Type Method Description java.lang.Object
extractVariableFromFormPayload(FormDataModel formDataModel, java.util.Map<java.lang.String,java.lang.Object> modifiedData, java.util.Map<java.lang.String,java.lang.Object> originalData)
Get the variable for theformDataModel
from the providedmodifiedData
.
-
Method Details
-
extractVariableFromFormPayload
java.lang.Object extractVariableFromFormPayload(FormDataModel formDataModel, java.util.Map<java.lang.String,java.lang.Object> modifiedData, java.util.Map<java.lang.String,java.lang.Object> originalData)Get the variable for theformDataModel
from the providedmodifiedData
. ThemodifiedData
will contain the transformed data that has been changed in the form request. TheoriginalData
contains the data before the changes by the submit- Parameters:
formDataModel
- The form data model definitionmodifiedData
- The transformed modified data from the form payloadoriginalData
- The original data before the user changes- Returns:
- the parsed variable that should be used
-