microflow does not math argument

0
    What can i do in this case. Have someone an idea? 
asked
3 answers
0

It looks like the microflow has a parameter defined. But when calling a MF from the navigation, there is no argument available.

image.png

image.png

You could investigate the option of removing the parameter from the MF and if it is required by the logic in the MF, if you can somehow use a retrieve (from database) to get it.

Hope this helps

 

Update: If you are using a non persitable object, you have 2 options

1) If an existing version of the NP object during your session is not relevant, create the object in the MF and use it

2) If you want to reuse an existing object, you must be able to link it to either the user or session. Eg. From the NP entity, create an association to the account object (many-1 ). In your MF retrieve the Account object related to the current user (xpath: [id = '[%CurrentUser%]']), then retrieve the NP objects via the Account to Entity association. This will return a list. Next step is to use List operation 'Head' to get the first item in the list. Then us a decision to check if the object exists. If not, create it (don't forget to associate to the Account), otherwise you can use the existing object in your logic.

 

answered
0

image.png

That is the microflow

answered
0

Hi Patrick Blaszczyk,

 

Could you remove the parameter from the microflow? If a shell is needed on the page, either fetch it from the database or create a new object according to your requirements?

answered