I am trying to write an auto logging IFTTT to copy Confiforms data from one table to another when a specific field in the source table chnages.
I have created the IFTTT rule onModified and it fires to copy the data from the source to the destination tables when hasChanged identifies a change to the field.
From reading the hasChanged virtual function info, I understand that there is a "virtual property" called "_previousState". Seems simple enough to this old dog and I think I can use it to set parameters of my copy Confiforms Data. No luck.
My fear is that the _previousState can only be used in conditions and filters and is not accessible when trying to set parameter values, see image for my "hoped for" usage:
Hi
Previous state exists only when record is about to be updated (or new value is assigned) and is accessible in IFTTTs and in field definition rules
When you copy data then there is no previous state - as ConfiForms takes a dataset you tell it to copy and copies it at the destination you tell
Alex
Thanks @Alex Medved _ConfiForms_
Any recommendations or articles you can provide on how to capture the before state of a field?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Well, using the mentioned _previousState, but you can get it (inly) for the record that initiates the IFTTT
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That is how I thought I was calling it when the record is modified, take the _previousState value and put it into another table/field.
Thanks anyway.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use this IFTTT instead https://wiki.vertuna.com/display/CONFIFORMS/Configuring+ConfiForms+IFTTT+actions+and+rules#ConfiguringConfiFormsIFTTTactionsandrules-Create(Update)ConfiFormsEntry
As explained earlier, when you copy data from one form to another.., there is no previous context/state available, as... well.. you can copy whatever you want whenever you want. And it might not be even involving the current record in any way
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Let me dig into this deeper. My problem seems to be I don't know how to effectively search the WIKI to get these articles.
As always, thanks for the guidance and direction!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I did a sequence of IFTTTs to get the desired result. A bit kludgy but is working.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.