Updating confiforms entries in a different form using ifttt action
Asked by Akshaya Sharma:

Hello everybody,

I am trying build a structured way of generating content on confluence so that handling and administering the data is easier.

For that I have 3 forms defined using Confiforms. The first 2 forms have 2 fields each. The 3rd form has 4 fields. I have added a ifttt trigger which creates the input entries thats been added in 1st form to the 1st 2 fields of 3rd form. I also want the inputs from 2nd form to be added to the same entry of 3rd form (1st 2 fields for entries of form 1 and the next 2 fields for the entries of form 3- total 4 fields on form 3).

For parameters to be set on entry I am including this so that the same entry is updated (ifttt create/update Confiforms entry on form 2):

entryId=\[entry._Configuration.id\] --\> assuming form 3 name as Configuration here (not including other parameters to be set here in the question. Only including the part relevant for updating the entry).

But the 2nd form entries are created as new entry on 3rd form and are not added to the already created entry on 3rd form based on the entries of 1st form.

With these 4 fields I am planning to map the field values to the confluence page created for each entry of 3rd form with a predefined template using multi excerpt.

I hope my question is described in an understandable way! Thanks in advance.


Answers:
author: Alex Medved _ConfiForms_
body: Hi [@Akshaya Sharma](/t5/user/viewprofilepage/user-id/5329018) and welcome to this community

Generally it is not good to have own IDs for the records in ConfiForms, so you better have a separate field (with a common value) that links the records together

And to update the record use the UpdateByFilter IFTTT rule instead <https://wiki.vertuna.com/display/CONFIFORMS/Configuring+ConfiForms+IFTTT+actions+and+rules#ConfiguringConfiFormsIFTTTactionsandrules-UpdateConfiFormsEntriesbyFilter>

Alex

comments: author: Akshaya Sharma
body: Hello [@Alex Medved _ConfiForms_](/t5/user/viewprofilepage/user-id/781630)

Thanks for the reply! I am trying to work around using update by filter ifttt action. Here I am updating field C3 only when it is empty. For that I have applied a filter which filters C3 when it is empty. But as a result I also get all the C3 field values(which were not empty) updated with the value not just the C3 field which was empty. What mistake am I doing here?

![filter.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/295068i92B7D1CC8F687E0B/image-size/large?v=v2&px=999 "filter.PNG")


author: Akshaya Sharma
body: Sorry thats a silly mistake from my end. I have added C3:\[empty\] to ''Filter to apply before update'' and it works fine now!!


author: Alex Medved _ConfiForms_
body: The filtering expression should be id:\[entry.id\]

That is to address the current record

Or you can switch the ConfiForms IFTTT to <https://wiki.vertuna.com/display/CONFIFORMS/Configuring+ConfiForms+IFTTT+actions+and+rules#ConfiguringConfiFormsIFTTTactionsandrules-Create(Update)ConfiFormsEntry> and set the "parameters to set" to be

```
entryId=[entry.id]&C3=[entry.F2Field]
```

Alex


Tags: confiforms

macro

unknown-hosting-type