@yamilurbina

Web and mobile developer, soon-to-be entrepreneur and startup maker.


Facebook
LinkedIn
Twitter
  • ask me anything
  • rss
  • archive
  • ProcessMaker Gem Quick Tip: Start a batch of cases with a few lines of code

    About a month ago, I published a ProcessMaker gem for Ruby and had some traction with almost 500 downloads in three weeks. But what can the library do? This post will show you a little trick to take advantage of this gem.

    200 cases at once? No problem, bro

    So, let’s say we want to start 200 cases for any crazy reason. Perhaps you want to do some load testing on the application and the best way to accomplish this is to generate cases.

    Ruby is your buddy

    First, you’ll need to have Ruby installed. I won’t go into details on how to set it up, but once you have it, go to your terminal or command line and type this:

    gem install processmaker
    

    (This works on Windows and LINUX/UNIX)

    Create a file: pm.rb

    And make sure you have this:

    require 'processmaker'
    
    Processmaker.login(
        wsdl: # your PM web service url
        user_id: # username
        password: # password
    )
    
    (1..200).each do |c|
        Processmaker.new_case(
            process_list: # ID process
            task_list: # TASK list
        )
    end
    

    Did you see the (1..200) block almost at the end? That will loop through the new_case method 200 times. No more, no less.

    And there you go! A simple trick that shows what you can accomplish with the ProcessMaker Gem.

    I got a question!

    Sure, you can find me on twitter: @yamilurbina

    • 1 month ago
    • #processmaker
    • #tricks
    • #ruby
    • #gem
    0 Comments
  • Mejor internet ya!

    Mejor internet ya!

    • 1 month ago
    0 Comments
  • This is Riverflow for Processmaker. Coming this April

    This is Riverflow for Processmaker. Coming this April

    • 2 months ago
    0 Comments
  • Integrate BPM into your Ruby apps with the ProcessMaker gem

    I’m currently developing a cloud manager for ProcessMaker instances named Riverflow 2 and I couldn’t find an easy way to talk to my ProcessMaker instance from Ruby.

    By default, ProcessMaker uses web services as their only source of communication (although rumor says that a REST implementation is coming on future releases). After some research, I found a SOAP client for Ruby called Savon, which parses the requests into xml and sends it to the web service for you.

    So, I’m proudly introducing an open-source Ruby library for ProcessMaker based on Savon. The source code is available on Github for you to fork, edit and send me a pull request if you have some improvements to include.

    Read More

    • 2 months ago
    • 1 notes
    • #processmaker
    • #ruby
    • #gem
    • #rubygems
    • #ruby and bpm
    • #integration
    • #php and ruby
    1 Comments
  • elepath:

Hey, yes you!
We’re giving away 5 copies of Thinglist. Just reblog this & list something you care about remembering for a chance to win.
P.S. Make sure you have your /ask feature turned on so we can contact you.

I need to remember my Zen meditation times

    elepath:

    Hey, yes you!

    We’re giving away 5 copies of Thinglist. Just reblog this & list something you care about remembering for a chance to win.

    P.S. Make sure you have your /ask feature turned on so we can contact you.

    I need to remember my Zen meditation times

    Source: elepath
    • 2 months ago
    • 68 notes
    68 Comments
  • Upcoming project based on a very well known BPM

    Upcoming project based on a very well known BPM

    • 3 months ago
    0 Comments
  • Introduccion a iOS: Hola Mundo!

    Estos ultimos meses he estado jugando el SDK para iOS. Resulta que desarrollar aplicaciones para dispositivos Apple es intuitiva y la informacion que encuentras en internet ayuda mucho. La unica desventaja que encuentro es que necesitas una Mac para usar Xcode, el IDE de Apple desarrollado para hacer nuestras aplicaciones.

    Read More

    • 3 months ago
    • 1 notes
    • #iOS
    • #app
    • #introduccion
    • #como desarrollar apps
    1 Comments
  • Cómo usar twitter para comunicar y establecer presencia en internet

    Tips y cómo aprovechar este red social.

    • 5 months ago
    0 Comments
© 2009–2013 @yamilurbina
Next page
  • Page 1 / 10