digi-serve / kitchensink_app

Testing all AppBuilder options.
1 stars 1 forks source link

[add] three connect fields to OnCreate #44

Closed Achoobert closed 2 years ago

Achoobert commented 2 years ago

The goal here is to test Process Manager's ability to update the connect field.

I have added all types of connect field: however the most important one is the many-many.

Looks like this: image

Should look like this: image

nh758 commented 2 years ago

I see this error in process manager when running:

DBError: select `appbuilder-admin`.`AB_testkcskeya`.* from `appbuilder-admin`.`AB_testkcskeya` where ( uuid in_data_collection 1f8b9e67-525d-4fa2-8576-4c18e853677f )

I don't think we support the "in data collection" filter in the query task now. image

Achoobert commented 2 years ago

I see this error in process manager when running:

DBError: select `appbuilder-admin`.`AB_testkcskeya`.* from `appbuilder-admin`.`AB_testkcskeya` where ( uuid in_data_collection 1f8b9e67-525d-4fa2-8576-4c18e853677f )

I don't think we support the "in data collection" filter in the query task now. image

Hmm. I'll have to take another look. I couldn't set a query as a filter either, nor could I directly build a custom filter outright. Perhaps for this specific test we don't need a filter though

Achoobert commented 2 years ago

"in data collection" filter

I got rid of that filter in the last commit, the task is now just getting a group of uuids: Task_03diull : get kcs-a m2m : get kcs-a m2m completed successfully image

Screenshot from the new process manager UI (which looks super nice!) image

image

guyyoo commented 2 years ago

Hi, I think we need to pluck [label] instead of [PK].

Screen Shot 2565-08-08 at 13 38 20

because this uses a custom foreign key here so we couldn't use [PK] to update the connected field on the record.

Screen Shot 2565-08-08 at 13 35 59

And then, they are going to be added.

Screen Shot 2565-08-08 at 13 52 52