Fluent Commerce Logo
Docs
Sign In

Add Comment Workflow Template Overview

How-to Guide

Author:

Fluent Commerce staff

Changed on:

13 Dec 2023

Key Points

  • Configuration

Steps

Step arrow right iconAdd Comment Workflow Template

A Comment provides an additional piece of information to the entity it is related to. An Order can contain multiple comments associated with it.

Configuration

To configure "Add Comment" mutation add the following code:

1{"actions": { 
2    "secondary": [ { 
3            "type": "mutation", 
4            "label": "i18n:fc.om.orders.detail.userAction.addComment", 
5            "name": "createComment", 
6            "overrides": { 
7                "entityId": { 
8                    "defaultValue": "{{orderById.id}}" 
9                }, 
10                "entityType": { 
11                    "defaultValue": "i18n:fc.om.orders.index.userAction.entityType.order" 
12                } 
13            } 
14        } 
15    ] 
16}
17}

Language: json

Name: Example

Description:

[Warning: empty required content area]
Fluent Commerce staff

Fluent Commerce staff

Copyright © 2024 Fluent Retail Pty Ltd (trading as Fluent Commerce). All rights reserved. No materials on this docs.fluentcommerce.com site may be used in any way and/or for any purpose without prior written authorisation from Fluent Commerce. Current customers and partners shall use these materials strictly in accordance with the terms and conditions of their written agreements with Fluent Commerce or its affiliates.

Fluent Logo