Skip to content

Commit

Permalink
Merge pull request AOT-Technologies#2087 from abilpraju-aot/bugfix/FW…
Browse files Browse the repository at this point in the history
…F-2796-process-bug

added bugfix for process list
  • Loading branch information
arun-s-aot authored Jun 3, 2024
2 parents de03ef5 + b7e8506 commit ce15309
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions forms-flow-web/src/components/Form/Steps/WorkFlow.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const WorkFlow = React.memo(
const [formFields, setFormFields] = useState({});
const [taskVariables, setTaskVariables] = useState([]);
const [selectedVariablekeys, setSelectedVariableKeys] = useState([]);

const tenantKey = useSelector((state) => state.tenants?.tenantId);
const selectedAllFields = Object.keys(formFields).every((i) =>
selectedVariablekeys.includes(i)
);
Expand Down Expand Up @@ -90,7 +90,7 @@ const WorkFlow = React.memo(
setSelectedVariableKeys(keys);
taskvariable.push(...Object.values(components));
setTaskVariables(taskvariable);
dispatch(fetchAllBpmProcesses({ excludeInternal: true }));
dispatch(fetchAllBpmProcesses({ tenant_key: tenantKey, excludeInternal: true }));
}, []);

const updateTaskvariableToProcessData = (updatedData) => {
Expand Down

0 comments on commit ce15309

Please sign in to comment.