Flowable Forms

Flowable Forms

  • Release Notes
  • Guides
  • Components
  • Storybook

›Components

Components

  • Introduction
  • Accordion
  • Button Group
  • Checkbox
  • Columns
  • Data Table
  • Date
  • Doc Gallery
  • Flex Layout
  • HR
  • HTML
  • iFrame
  • Image
  • Link
  • Link Button
  • List
  • Modal
  • Number
  • Outcome Button Group
  • Panel
  • Password
  • PDF Viewer
  • Radio button
  • REST Button
  • RichText editor
  • Assign Button
  • Select
  • Text List
  • Sub-Form
  • Tabs
  • Text
  • Textarea
  • Upload
  • Wizard

REST Button

Queries an HTTP endpoint and stores the response.

Demo

Basic example

Attributes

AttributeTypeDescription
typestringType expected is restButton

See section Common attributes.

Extra attributes

AttributeTypeDescription
autoExecutebooleanIf true, URL will be called automatically when the form is displayed
refreshTimenumberNumber of ms to wait before automatically calling again
textstringText shown inside the button
urlstringURL to call when clicked
pathstringWhere to find data in a JSON response
valueExpressionstringExpression that returns the value to store. $response keeps the value returned by the REST call. For example {{flw.round($response.returnedValue, 2)}}. If path is defined, $response keeps the value of the REST response in that path.

Events

EventWhenAdditionalCancellable
Button.clickAny button is clickedDefinition + StateYes

See section Events for more information.

When to use it

Use it to get values from server manually or automatically.

← Radio buttonRichText editor →
Docs
GuidesComponents
Private
SourceStorybook
Flowable Forms
Copyright © 2020 Flowable