I would like to have an interface that, when it is accessed/loaded/refreshed by user, will write a row to a table in the database.
Is this possible?
Idea: Perhaps by using a!writeToDataStoreEntity, or a!startProcess? But it seems that these do not work outside of a "button click" by the user. Trying to add it outside of a button is giving me errors like this one:
Could not display interface. Please check definition and inputs. Interface Definition: Expression evaluation error : Cannot create context for UI expression. Reason: A value of type "Reaction Tree" was stored in the variable "write", but values of this type cannot be stored in SAIL context variables. Use a with() variable or change the type of this value.
Thank you in advance for any ideas or advice!
Discussion posts and replies are publicly visible
Thanks, but this is for a record not a task.
Dai Williams - You can call webAPI in Integration and use it in the form load which should write to DSE.
David, it looks like my reply to you had been programmatically filtered for human review for looking like spam so it showed up in a different spot - let me know the bit about UUIDs/users was somewhat helpful. -Agustin
Using an integration and a WebApi in Appian itself work fine but the integration should be a post with usage "Query data". By this way the integration can be called in a local variable initialization and the WebApi finally write the data. But for performance consideration, it require an authentication not really necessary.
Jean Can you explain the method. we are looking something similar solution. how did you pass the data into WebAPI