Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8198015
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T05:51:44+00:00 2026-06-07T05:51:44+00:00

I have created a rule for a space in which added simple workflow. If

  • 0

I have created a rule for a space in which added simple workflow.
If user approves file from this workflow then, this file is get moved to another space.

Now I want to approve files using alfresco web service client. For this I am using following code, but somehow it is not moving file to another space (not executing approve action)

ActionServiceSoapBindingStub actionService = WebServiceFactory.getActionService();
Rule[] rules = actionService.getRules(parentRef, new RuleFilter());
for (int i = 0; i < rules.length; i++) {
  Rule rule = rules[i];
  if(rule.getTitle().equals("Upload workflow rule")) {
    ActionExecutionResult[] results = actionService.executeActions(predicete, 
       new Action[{rule.getAction()});
  }
}

Thanks, Yogesh

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T05:51:45+00:00Added an answer on June 7, 2026 at 5:51 am

    I found solution for this, just need to call CommandServlet with specific parameters.

    Example – (http://localhost:8080/alfresco/command/workflow/approve/workspace/SpacesStore/0000-0000-0000)

    Here “0000-0000-0000” is node id on which I wanted to execute workflow approve.

    Thanks.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created following rule in the .htaccess file located at the root of
I have created an HTML page which uses simple CSS (no javascript) for menu
I have a simple grammar which allows the user to define some objects with
I have created a this rule: <rewrite> <rules> <rule name=ImageRedirect stopProcessing=false> <match url=^(.*)/(.*)/ />
I have created a rule to rewrite this http://192.111.111.111:8020/1B3KC46K48N6228671/20120524/1B3KC46K48N62286711_l1.jpg to http://192.111.111.111:8020/1B3KC46K48N62286711_l1.jpg?vin=1B3KC46K48N6228671&dt=20120524 Rule is :
I have created a crontab rule: * * * * * php /my/directory/file.php I
I have created bills, which should be possible to open from admin, but not
I have created 3 classes as following Ext.mine.TextParent - Inherting from Textfield Ext.mine.child.TextChildA -
I have created a custom validation rule (uniqueUserName). The problem I'm having is that
I have created a user registration form in CakePHP. My intention is if user

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.