Question

33
Views
NicolòG3 Member since 2020 2 posts
Blue Reply SRL
Posted: 2 months ago
Last activity: 2 months ago

DX API - PUT 'refresh' action doesn't update conditional visibility on fields

Good morning, 

I have a problem retrieving conditional visibile fields on the DX API.

I have a simple boolean radio button 'AccettoRifiutoAgenzia' (with ofc a property attached), and two specific field, each one conditionally visible only when the property attached to the radio button is true or false.

On the OOTB FE, when i click on the radio buttons it shows me the right field, but when executing a 'PUT' http call like the following: 

'http://.../api/v1/assignments/.../actions/CollectInformationAgenzia/refresh?refreshFor=AccettoRifiutoAgenzia'

with the correct body (in fact the response of this put returns me the view with the right value that i have just pressed on the radio button), i still returns me both the fields with visibility false.

If i check 'Run visibility condition on client' i have the opposite results, having every time both the fields visible.

This is a pic of one of the two fields:

Conditional visibility

I am pretty sure that the http call is correct, as I am already using it to update data transform when selecting different type of inputs.

Has everyone ever encountered this problem before?

 

Thanks in advance,

Nicolò

Pega Platform Low-Code App Development Dev/Designer Studio Financial Services Insurance
Share this page LinkedIn