Hi.
I am running into a problem in my current use case. I am using Appian to load new tasks into my Appian application environment every day. These tasks are then automatically assigned to a set of workers/appian users.
Each task has its own set of requirements that must match with the worker's set of skills. This is a classic work assignment problem and I was able to reduce it to a Min Cost Max Flow problem, to which there are many established solutions in the form of an algorithm. There are plenty of code implementations of these algorithms in Python, JavaScript, C, etc etc.
My problem is that I am having a hard time figuring out a way to incorporate these code implementations into Appian.
Does Appian have a way of calling/compiling/running python or JS code?
Discussion posts and replies are publicly visible
have you explored writing a plugin - getting it cloud approved and using it in your implementation?
I have no idea how to do that, is there a tutorial for that?
Here's the documentation for creating plug-ins: https://docs.appian.com/suite/help/latest/Appian_Plug-ins.html
One thing to know about plug-ins in Appian is that they must be written in Java, so you wouldn't be able to use Python or C++ or anything like that.
I also generally agree with Stefan - I think you could likely write an expression rule that returns the same logic. Appian's expression language is pretty extensive, so you would rarely need a plug-in for this kind of logic. Plug-ins in Appian are used more for things like document generation or working with external systems.
Thank you Peter, come to think of it, I think there is a chance to implement this in expression rules.
I don't think there will be a tutorial on building a specific algorithm logic in Appian Expressions
You have to create the logic yourself in Appian Expressions