Confiforms: ID of entry created
Asked by Bartosz Dro?d?al:

Hi [@Alex Medved _ConfiForms_](/t5/user/viewprofilepage/user-id/781630)

I use IFTTT Create Confiforms entry, which creates an entry in a new form.  
I would like to return the ID of the entry created using the above-mentioned IFTTT in some other field.  

How can I do this? somefield=\[ifttt_MYRESULT.id\] doesn't work.


Answers:
author: Alex Medved _ConfiForms_
body: Hi [@Bartosz Dro?d?al](/t5/user/viewprofilepage/user-id/5339252)

What does not work for you!?

This is something I hear over and over, but the result is actually that things work just perfectly fine

Here is the simple test

```
<ac:structured-macro ac:macro-id="cd8d0547-7343-468c-ae3e-cf4b9449b82a" ac:name="confiform" ac:schema-version="1">
<ac:parameter ac:name="formName">form</ac:parameter>
<ac:rich-text-body>
<ac:structured-macro ac:macro-id="f2ce2675-3138-488c-925f-e84513402848" ac:name="confiform-entry-register" ac:schema-version="1">
<ac:rich-text-body>
<p>
<br/>
</p>
</ac:rich-text-body>
</ac:structured-macro>
<p>
<ac:structured-macro ac:macro-id="68949eb0-1385-4cca-94c0-de052aea9e48" ac:name="confiform-field-definition" ac:schema-version="1">
<ac:parameter ac:name="fieldName">t</ac:parameter>
<ac:parameter ac:name="fieldLabel">t</ac:parameter>
<ac:parameter ac:name="type">text</ac:parameter>
</ac:structured-macro>
</p>
<p>
<ac:structured-macro ac:macro-id="819fffae-18d4-4e93-948a-0d323d4ff1b2" ac:name="confiform-field-definition" ac:schema-version="1">
<ac:parameter ac:name="fieldName">somefield</ac:parameter>
<ac:parameter ac:name="fieldLabel">somefield</ac:parameter>
<ac:parameter ac:name="type">hidden</ac:parameter>
</ac:structured-macro>
</p>
<ac:structured-macro ac:macro-id="4b98dcde-93b9-43ea-80ec-fc4fd7a89691" ac:name="confiform-ifttt" ac:schema-version="1">
<ac:parameter ac:name="action">Create ConfiForms Entry</ac:parameter>
<ac:parameter ac:name="event">onCreated</ac:parameter>
<ac:parameter ac:name="title">t=[entry._now]</ac:parameter>
<ac:parameter ac:name="resultName">MYRESULT</ac:parameter>
<ac:parameter ac:name="who">form1</ac:parameter>
<ac:rich-text-body>
<p>
<br/>
</p>
</ac:rich-text-body>
</ac:structured-macro>
<ac:structured-macro ac:macro-id="5d440310-4625-4d15-9389-329ded304d67" ac:name="confiform-ifttt" ac:schema-version="1">
<ac:parameter ac:name="action">Create ConfiForms Entry</ac:parameter>
<ac:parameter ac:name="event">onCreated</ac:parameter>
<ac:parameter ac:name="title">entryId=[entry.id]&amp;somefield=[iftttResult_MYRESULT.id]</ac:parameter>
<ac:rich-text-body>
<p>
<br/>
</p>
</ac:rich-text-body>
</ac:structured-macro>
<p>
<br/>
</p>
</ac:rich-text-body>
</ac:structured-macro>
<ac:structured-macro ac:macro-id="bc4d013e-47b1-4103-a1d5-6f36765a8e0e" ac:name="confiform" ac:schema-version="1">
<ac:parameter ac:name="formName">form1</ac:parameter>
<ac:rich-text-body>
<p>
<ac:structured-macro ac:macro-id="087e904e-9d29-4ce4-8428-e29c11f92ed9" ac:name="confiform-field-definition" ac:schema-version="1">
<ac:parameter ac:name="fieldName">t</ac:parameter>
<ac:parameter ac:name="fieldLabel">t</ac:parameter>
<ac:parameter ac:name="type">text</ac:parameter>
</ac:structured-macro>
</p>
</ac:rich-text-body>
</ac:structured-macro>
```

Alex


Tags: confiforms

confluence-data-center

confluence-server

data-center

server