Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Updating confiforms entries in a different form using ifttt action

Akshaya Sharma November 27, 2023

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.

 

1 answer

1 accepted

0 votes
Answer accepted
Alex Medved _ConfiForms_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 27, 2023

Hi @Akshaya Sharma 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

Akshaya Sharma December 3, 2023

Hello @Alex Medved _ConfiForms_ 

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

Akshaya Sharma December 3, 2023

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

Alex Medved _ConfiForms_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 3, 2023

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events