Hi,

I am using the workflow module to do some magic. I have three states, for a node to go to state 2 from 1 the users must have performed a certain task outside the Drupal environment, which generates a call by a server executing a script on my Drupal site. So what I need is some way of going from one state to another by a php script in some manner.

If anyone has done this before or have an idea how to do it, I would be thankful for the knowledge.

Comments

reed.richards’s picture

Title: Create a state transition by php script execution » Making the tranistion and trigger the actions connected with it

Doing a bit more research I figured out what I want. Basically a external server will call a specific url on my site which will run a php script. The php script will change the state of the node and trigger the actions.

So as I said if anyone has a snippet for this I would be most happy.

Bastlynn’s picture

Status: Active » Closed (won't fix)

Hi,

With the release of Drupal 7, Drupal 5 is no longer receiving security updates, reviews, or development from many contributed modules. Since 5 is now considered a depreciated version, you really should seriously look into upgrading to Drupal 6 or 7. The newer versions of Drupal work better, have more support, and will be safer (literally! security patches!) for your website. We are currently working on a new release for Workflow to Drupal 7. In light of that, further support for Drupal 5 issues is infeasible at the moment. Please consider upgrading to Drupal 6 or 7 in the near future - you'll be glad you did.

- Bastlynn