Answers.Body: <p>The way to go is to use the action &quot;Other: Set Value&quot;. Form Processor only handles objects not strings themselves.</p>
  <p>By setting a condition on that action, values can be set conditionally even.</p>
  <p>Even better, by using action &quot;Other: Map Value&quot; one can map values of parameters to other values obtaining conditioned constants in a new parameter. The mapping is given as a JSON dictionary e.g. <code>{ &quot;A&quot;: &quot;10&quot;, &quot;B&quot; : &quot;20&quot; }</code>.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-07-26T11:26:37.323Z
Answers.LastActivityDate: 2023-07-26T12:07:24.743Z
Answers.LastEditDate: 2023-07-26T12:07:24.743Z
Answers.UserDisplayName: mplh
Body: <p>In form processor I'd like to map some constant value to a parameter in an action (e.g. a constant amount for a SEPA Mandate in the action &quot;Create SEPA Mandate (Recurring)&quot;). In the Section &quot;Parameter Mapping&quot; I can only map inputs and outputs of actions into the parameters, but not any constant value.</p>
  <p>What's the correct way to go about this?</p>
  
Tags: <form-processor><action-provider>
Title: Fill in a Constant for a parameter mapping in an action in form processor
ThreadText: # Fill in a Constant for a parameter mapping in an action in form processor
  
  (Asked by: username_0 on 2023-07-26)
  
  In form processor I'd like to map some constant value to a parameter in an action (e.g. a constant amount for a SEPA Mandate in the action "Create SEPA Mandate (Recurring)"). In the Section "Parameter Mapping" I can only map inputs and outputs of actions into the parameters, but not any constant value.
  
  What's the correct way to go about this?
  
  **Tags:** form-processor, action-provider
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2023-07-26. Score: 0
  
  The way to go is to use the action "Other: Set Value". Form Processor only handles objects not strings themselves.
  
  By setting a condition on that action, values can be set conditionally even.
  
  Even better, by using action "Other: Map Value" one can map values of parameters to other values obtaining conditioned constants in a new parameter. The mapping is given as a JSON dictionary e.g. `{ "A": "10", "B" : "20" }`.
  
  
  ---
  
  