I have a backend workflow that updates fee information when the subscription elapses. E.g payment A should be made monthly. At the end of the month, I have a backend workflow that changes the due date to the following month and that is working perfectly. The data type is fee and this workflow changes the data field ‘expiry date’.
But, I also need to update the status of clients (data type is client) who have paid from ‘paid’ to ‘unpaid’ when the month is over and a new month starts. It looks like it is not possible to use one API endpoint to change two types of things (in this case, fee and client) because I tried it and it did not work.
Does anyone have an idea about how to solve this kind of problem?
Steps 1 and 2 are working as shown in the first two screenshots above, but step 3 which asks for a change to the list of clients is not. I can’t seem to figure out why.
I was actually trying to change the status of the clients who have to pay the fee referred to in steps 1 and 2 to owing, but based on this tip, I have changed it from Result of Step 1’s payers to just doing a search for clients whose fees include the one in step 1.
To refer to the billtopay auto and billtopay manual fields that refer to step 1, I am still trying to figure out how to rework them to avoid circular logic because that is the only way I can think of for now to get the bills removed from the clients paid bills.