Hi,
Am getting this error:" : An error occurred while executing a save: Expression evaluation error : Attempted to run a second smart service, but only one smart service can be run per expression evaluation".
Can someone help out how to sort this out.
I have read other documentation it was asked to use another smart service in Process Model, but in my case there is only one process Model and the interface has been called in Start process ...so basically how to use. I hve attached the code. Thanks
saveInto: { rule!Abc( cdt_Abc: local!cdt_Xyz ), a!save(local!viewButtonAction, "VIEW"), a!startProcess( processModel: cons!APPIAN_PROCESS_MODEL_MAIL, processParameters: { Notes: ri!Notes, sendTo: local!sendTo, }, onSuccess: { a!save( ri!MovesInfo, fv!processInfo ) } ) }
Discussion posts and replies are publicly visible
What is the rule!Abc doing? Is it possible that rule is als running a smart service? If you run into this issue, usually the best approach is to move any additional smart services into the process (since the process can run as many as necessary).
Thanks @peter for response.. I was able to figure out the issue. Actually inside rule!Abc, a!startprocess was used and so i was getting that error had moved that and used in the new Process Model.. So working fine.
i wish there was an option to delete a thread after posting.
akshayg0006 said:i wish there was an option to delete
One of the main points of Community is to provide people a repository of asked-and-answered questions that they may be able to refer to and solve their own issues without creating their own new post. So it's really not a good idea to remove a thread that might be helpful for people who bump into the same issue in the future.