svend2000 Posted November 27, 2019 Share Posted November 27, 2019 Hi, I am strugling with how to prioritize entities on a server, so that one always will be processed first. No matter what i've tried it always seems to prioritize wholesale_retur first. Please see the attached photo for reference. Best regards Kasper Link to comment Share on other sites More sharing options...
GFurtado Posted November 27, 2019 Share Posted November 27, 2019 Entities are prioritized in server according to the server Ranking Rule. Check my attached model. I set Entity1 priority to 1, Entity2 priority to 2 and told the server to prioritize the ModelEntity with the highest priority value. You can play with that logic to prioritize everything the way you want. entity priority.spfx 2 Link to comment Share on other sites More sharing options...
svend2000 Posted November 28, 2019 Author Share Posted November 28, 2019 Thank you! That was really helpful! One question though; how do you assing the priority to the attached status label? Link to comment Share on other sites More sharing options...
GFurtado Posted November 28, 2019 Share Posted November 28, 2019 I set ModelEntity.Priority = X at Output@SourceX State Assignments property, but it could be assigned anywhere before the server. 1 Link to comment Share on other sites More sharing options...
Recommended Posts