Apify Discord Mirror

Updated 5 months ago

Boolean Input Scheme

At a glance

The community member's actor input scheme has hundreds of optional boolean parameters, and when the user does not select any of the options, the platform sets the default values to false for all parameters. The community member is concerned that this could create confusion and wants to know how to prevent this and make the platform set true only for the options the user selects.

In the comments, another community member suggests that there should be no confusion since if a value is not required, it can be excluded from the input JSON. However, another community member mentions that when they try to run the actor, something went wrong.

My actor Input Scheme have hundred of optional BOOLEAN parameters (literally). When user not selecting any of the options, the platform set the default values to False (all hundreds parameters). This could create confusion ? How to prevent this from happening ? How to make platform just set True only for users selected options ? Thanks.
Attachments
image.png
image.png
A
!
3 comments
Currently its the way how input schema works. There should be no confusion, since if value not required, it can be exluded from input json. Only webapp adding it for input submitted by visual form.
Make sense. Thanks 😊
However... when I try to run the actor, some thing went wrong ... πŸ€”
Attachment
image.png
Add a reply
Sign up and join the conversation on Discord